chore: Added the husky initialization script

This commit is contained in:
Kysen 2023-03-06 15:26:17 +08:00
parent e2feacfd88
commit 7cfefee4bd
3 changed files with 2 additions and 1 deletions

0
.husky/commit-msg Normal file → Executable file
View File

0
.husky/pre-commit Normal file → Executable file
View File

View File

@ -12,7 +12,8 @@
"lint:fix": "eslint . --fix",
"preview": "vite preview",
"test": "vitest",
"plop": "plop"
"plop": "plop",
"prepare": "npx husky install"
},
"dependencies": {
"@vant/touch-emulator": "^1.4.0",