From 169b8cda5871b2207e41ce74b9827f24bd8de86e Mon Sep 17 00:00:00 2001 From: keven1024 Date: Thu, 22 May 2025 11:37:53 +0800 Subject: [PATCH] fix(package): update postinstall script to use husky init for better setup --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f41e095..9ecb926 100644 --- a/package.json +++ b/package.json @@ -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": [