fix(package): update postinstall script to use husky init for better setup

This commit is contained in:
keven1024
2025-05-22 11:37:53 +08:00
parent 763e3ac3c1
commit 169b8cda58

View File

@@ -8,7 +8,7 @@
"dev:front": "cd front && pnpm run dev",
"dev:backend": "cd backend && export PATH=$PATH:$(go env GOPATH)/bin && air",
"test": "echo \"Error: no test specified\" && exit 1",
"postinstall": "npx husky install",
"postinstall": "npx husky init",
"prepare": "husky"
},
"workspaces": [