diff --git a/package.json b/package.json index 229926753..f105a1444 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ }, "scripts": { "preinstall": "chmod +x ./scripts/*", + "prepare": "rm -f .husky/pre-commit && husky install && npx husky add .husky/pre-commit \"./scripts/lint\" && chmod +x .husky/pre-commit", "dev": "vuepress dev docs", "build": "vuepress build docs", "build:proxy": "./scripts/bundle build_proxy",