|
7 | 7 | "scripts": { |
8 | 8 | "lint": "eslint src test --cache", |
9 | 9 | "lint:fix": "eslint --fix src test --cache", |
10 | | - "lint:watch": "esw --watch src test --cache", |
11 | 10 | "prettier": "prettier --write *.json *.md *.js '{src,test}/**/*.js'", |
12 | 11 | "prettier:check": "prettier --list-different *.json *.md *.js '{src,test}/**/*.js'", |
13 | 12 | "flow": "flow", |
14 | 13 | "flow:coverage": "for file in src/**.js test/**.js; do echo $file; flow coverage $file; done", |
15 | | - "flow:watch": "flow-watch -e js,js.flow,flowconfig --ignore es/ --ignore node_modules/ --watch .flowconfig --watch src/ --watch test/", |
16 | 14 | "clean": "rimraf es lib $(cd src; ls) *.js.flow", |
17 | 15 | "build": "npm run clean && cross-env BABEL_ENV=production babel src --out-dir es && flow-copy-source -v src/ es && cross-env BABEL_ENV=es5 babel src --out-dir . && flow-copy-source -v src/ .", |
18 | 16 | "test": "cross-env NODE_ENV=test BABEL_ENV=es5 mocha $npm_package_config_mocha && cross-env NODE_ENV=test BABEL_ENV=coverage nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha", |
|
28 | 26 | "husky": { |
29 | 27 | "hooks": { |
30 | 28 | "pre-commit": "lint-staged && npm run lint && flow", |
31 | | - "commit-msg": "commitlint -e $GIT_PARAMS", |
| 29 | + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", |
32 | 30 | "pre-push": "npm test" |
33 | 31 | } |
34 | 32 | }, |
35 | 33 | "lint-staged": { |
36 | 34 | "*.{js,json,css,md}": [ |
37 | | - "prettier --write", |
38 | | - "git add" |
| 35 | + "prettier --write" |
39 | 36 | ] |
40 | 37 | }, |
41 | 38 | "commitlint": { |
|
80 | 77 | }, |
81 | 78 | "homepage": "https://github.com/jedwards1211/react-library-skeleton#readme", |
82 | 79 | "devDependencies": { |
83 | | - "@babel/cli": "^7.1.5", |
| 80 | + "@babel/cli": "^7.8.4", |
84 | 81 | "@babel/core": "^7.1.6", |
85 | 82 | "@babel/plugin-proposal-class-properties": "^7.1.0", |
86 | 83 | "@babel/plugin-proposal-export-default-from": "^7.0.0", |
|
92 | 89 | "@babel/preset-flow": "^7.0.0", |
93 | 90 | "@babel/preset-react": "^7.0.0", |
94 | 91 | "@babel/register": "^7.0.0", |
95 | | - "@commitlint/cli": "^6.0.2", |
96 | | - "@commitlint/config-conventional": "^6.0.2", |
97 | | - "@jedwards1211/commitlint-config": "^1.0.0", |
| 92 | + "@commitlint/cli": "^11.0.0", |
| 93 | + "@commitlint/config-conventional": "^11.0.0", |
| 94 | + "@jedwards1211/commitlint-config": "^1.0.1", |
98 | 95 | "@jedwards1211/eslint-config": "^2.0.0", |
99 | 96 | "@jedwards1211/eslint-config-flow": "^2.0.0", |
100 | 97 | "@jedwards1211/eslint-config-react": "^4.0.0", |
101 | 98 | "babel-eslint": "^10.0.1", |
102 | 99 | "babel-plugin-flow-react-proptypes": "^24.1.2", |
103 | 100 | "babel-plugin-istanbul": "^5.1.0", |
104 | 101 | "chai": "^4.2.0", |
105 | | - "codecov": "^3.1.0", |
| 102 | + "codecov": "^3.8.0", |
106 | 103 | "copy": "^0.3.2", |
107 | 104 | "cross-env": "^5.2.0", |
108 | 105 | "enzyme": "^3.8.0", |
|
111 | 108 | "eslint-config-prettier": "^3.3.0", |
112 | 109 | "eslint-plugin-flowtype": "^3.2.0", |
113 | 110 | "eslint-plugin-react": "^7.11.1", |
114 | | - "eslint-watch": "^4.0.2", |
115 | 111 | "flow-bin": "^0.92.0", |
116 | | - "flow-copy-source": "^2.0.2", |
117 | | - "flow-watch": "^1.1.4", |
118 | | - "husky": "^1.1.4", |
| 112 | + "flow-copy-source": "https://github.com/jedwards1211/flow-copy-source#no-watch", |
| 113 | + "husky": "^4.3.0", |
119 | 114 | "istanbul": "^0.4.5", |
120 | 115 | "jsdom": "^11.5.1", |
121 | 116 | "jsdom-global": "^3.0.2", |
|
127 | 122 | "react": "^16.6.3", |
128 | 123 | "react-dom": "^16.6.3", |
129 | 124 | "rimraf": "^2.6.0", |
130 | | - "semantic-release": "^15.1.4" |
| 125 | + "semantic-release": "^17.1.2" |
131 | 126 | }, |
132 | 127 | "dependencies": { |
133 | 128 | "@babel/runtime": "^7.1.5", |
|
0 commit comments