diff --git a/package.json b/package.json index 3b13a5f..392b08a 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "dist" ], "scripts": { + "postinstall": "is-ci || husky install", "build": "run-p build:*", "build:tsup": "tsup --dts --minify", "changeset": "changeset", @@ -32,7 +33,7 @@ "test": "vitest --passWithNoTests", "test:ci": "pnpm run test:coverage --run", "test:coverage": "pnpm run test --coverage", - "prepare": "is-ci || husky install", + "prepare": "pnpm run-p build test:ci", "prerelease": "run-p build test:ci", "release": "changeset publish" },