We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40389d1 commit 3f3fc11Copy full SHA for 3f3fc11
package.json
@@ -7,9 +7,6 @@
7
"author": "Mehdi Lahlou <[email protected]>",
8
"repository": "https://github.com/medfreeman/nuxt-netlify-cms-module.git",
9
"scripts": {
10
- "#<git hooks>": "handled by husky",
11
- "precommit": "lint-staged",
12
- "#</git hooks>": "handled by husky",
13
"lint": "eslint --ignore-path .gitignore --fix \"**/*.js\"",
14
"test": "cross-env NODE_ENV=test DEBUG=nuxt:netlify-cms jest --runInBand --forceExit",
15
"pretest": "yarn lint",
@@ -60,6 +57,11 @@
60
57
"request-promise-native": "^1.0.4",
61
58
"standard-version": "^5.0.0"
62
59
},
+ "husky": {
+ "hooks": {
+ "precommit": "lint-staged"
63
+ }
64
+ },
65
"lint-staged": {
66
"*.js": [
67
"git-exec-and-restage prettier --write --"
0 commit comments