Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90bc1a6 commit de581e9Copy full SHA for de581e9
1 file changed
package.json
@@ -11,8 +11,7 @@
11
"prepublish": "run-s clean build",
12
"test": "run-p test:* lint",
13
"test:ava": "ava",
14
- "coverage": "nyc ava",
15
- "precommit": "lint-staged"
+ "coverage": "nyc ava"
16
},
17
"peerDependencies": {
18
"react-intl": "^2.2.2",
@@ -43,7 +42,7 @@
43
42
"eslint-config-concise-esnext": "^0.30.1",
44
"eslint-config-concise-react": "^0.30.1",
45
"eslint-plugin-react": "^7.11.1",
46
- "husky": "^0.14.3",
+ "husky": "^1.0.1",
47
"immutable": "^3.8.2",
48
"intl": "^1.2.5",
49
"jsdom": "^12.0.0",
@@ -102,6 +101,11 @@
102
101
"comma-dangle": "off"
103
}
104
+ "husky": {
105
+ "hooks": {
106
+ "pre-commit": "lint-staged"
107
+ }
108
+ },
109
"lint-staged": {
110
"*.js": [
111
"eslint --fix",
0 commit comments