mirror of
https://github.com/wahyd4/vuepress.git
synced 2026-08-09 05:16:23 +10:00
chore: fix Warning: Setting pre-commit script in package.json > scripts will be deprecated
Please move it to husky.hooks in package.json, a .huskyrc file, or a husky.config.js file Or run ./node_modules/.bin/husky-upgrade for automatic update
This commit is contained in:
+5
-1
@@ -7,7 +7,6 @@
|
||||
],
|
||||
"description": "Minimalistic doc generator with Vue component based layout system",
|
||||
"scripts": {
|
||||
"precommit": "lint-staged",
|
||||
"bootstrap": "yarn && yarn tsc",
|
||||
"lerna:bootstrap": "lerna bootstrap",
|
||||
"clean": "lerna clean && rm -rf node_modules",
|
||||
@@ -49,5 +48,10 @@
|
||||
"lint-staged": "^9.3.0",
|
||||
"minimist": "^1.2.0",
|
||||
"typescript": "^3.6.3"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user