Skip to content

Commit 26ccaf1

Browse files
committed
fix husky version
1 parent 4402cd0 commit 26ccaf1

File tree

2 files changed

+213
-16
lines changed

2 files changed

+213
-16
lines changed

package-lock.json

+198-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+15-8
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"test": "mocha ./tests/tests.js",
88
"prettier": "prettier --write ./**/*.js ./public/**/*.js",
9-
"lint": "eslint ./**/*.js ./public/**/*.js"
9+
"lint": "eslint ./**/*.js ./public/**/*.js",
10+
"lint-staged": "lint-staged"
1011
},
1112
"repository": {
1213
"type": "git",
@@ -22,15 +23,21 @@
2223
"mocha": "^5.2.0",
2324
"prettier": "^1.14.3",
2425
"eslint": "^5.6.1",
25-
"lint-staged": "7.3.0",
26-
"husky": "0.11.2"
26+
"lint-staged": "7.3.0"
2727
},
28-
"husky" : {
29-
"hooks" : {
30-
"pre-commit" : "lint-staged"
28+
"husky": {
29+
"hooks": {
30+
"pre-commit": "lint-staged"
3131
}
3232
},
33-
"lint-staged" :{
34-
"*.js": ["eslint", "prettier --write", "git add"]
33+
"lint-staged": {
34+
"*.js": [
35+
"eslint",
36+
"prettier --write",
37+
"git add"
38+
]
39+
},
40+
"devDependencies": {
41+
"husky": "v1.0.0-rc.13"
3542
}
3643
}

0 commit comments

Comments
 (0)