Skip to content

Commit 5a51d72

Browse files
committed
chore: upgrade dependencies
1 parent 2b76a69 commit 5a51d72

File tree

2 files changed

+144
-120
lines changed

2 files changed

+144
-120
lines changed

package.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,17 @@
4747
"rollup:cjs": "rollup -c --environment FORMAT:cjs",
4848
"rollup:umd": "rollup -c --environment FORMAT:umd",
4949
"rollup:umd.min": "rollup -c --environment MINIFY,FORMAT:umd",
50-
"precommit": "flow && lint-staged",
51-
"postcommit": "git update-index --again",
5250
"prepare": "yarn build",
5351
"pretty": "prettier '**/*.{js,md,json}' --write",
5452
"storybook": "start-storybook -p 9000",
5553
"test": "jest"
5654
},
55+
"husky": {
56+
"hooks": {
57+
"pre-commit": "flow status && lint-staged",
58+
"post-commit": "git update-index --again"
59+
}
60+
},
5761
"lint-staged": {
5862
"*.{js,json,css,md,ts}": [
5963
"prettier --write",
@@ -120,16 +124,16 @@
120124
"eslint-config-insilico": "^5.2.0",
121125
"flow-bin": "^0.81.0",
122126
"flow-copy-source": "^2.0.2",
123-
"husky": "^0.14.3",
127+
"husky": "^1.0.1",
124128
"intersection-observer": "^0.5.0",
125129
"jest": "^23.5.0",
126-
"lint-staged": "^7.2.2",
130+
"lint-staged": "^7.3.0",
127131
"npm-run-all": "^4.1.3",
128132
"prettier": "^1.14.2",
129133
"react": "^16.4.2",
130134
"react-dom": "^16.4.2",
131135
"react-test-renderer": "^16.4.2",
132-
"rollup": "^0.66.0",
136+
"rollup": "^0.66.2",
133137
"rollup-plugin-babel": "^4.0.1",
134138
"rollup-plugin-commonjs": "^9.1.6",
135139
"rollup-plugin-node-resolve": "^3.3.0",

0 commit comments

Comments
 (0)