Skip to content

Commit 324a422

Browse files
authored
fix(scripts): 修复脚本prepare异常 (#89)
1 parent 0e57d48 commit 324a422

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
},
1010
"scripts": {
1111
"preinstall": "chmod +x ./scripts/*",
12+
"prepare": "rm -f .husky/pre-commit && husky install && npx husky add .husky/pre-commit \"./scripts/lint\" && chmod +x .husky/pre-commit",
1213
"dev": "vuepress dev docs",
1314
"build": "vuepress build docs",
1415
"build:proxy": "./scripts/bundle build_proxy",

0 commit comments

Comments
 (0)