diff --git a/.husky/pre-commit b/.husky/pre-commit index e1beefe..cad84a0 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1 @@ -npm run typecheck && npm run lint +pnpm typecheck && pnpm lint diff --git a/package.json b/package.json index ff67a0b..0e55c9b 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "dist/**/*" ], "scripts": { - "prepare": "husky install", + "prepare": "husky", "changeset": "changeset", "commitlint": "commitlint --edit", "build": "pnpm clean && pnpm generate && tsc && pnpm uglify:dist",