Skip to content

Commit 3109445

Browse files
committed
Move husky installation to prepare script
1 parent 7f953c7 commit 3109445

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
"ci": "c8 pnpm test && c8 report --reporter=json",
4646
"build": "pnpm exec del-cli lib && pnpm exec tsup",
4747
"test": "cross-env NODE_OPTIONS=\"--no-warnings --experimental-fetch --loader=ts-node/esm\" ava",
48-
"postinstall": "husky install",
49-
"prepublishOnly": "pnpm run cleanup && pnpm run build && pinst --disable",
48+
"prepare": "husky install",
49+
"prepublishOnly": "pinst --disable",
5050
"postpublish": "pinst --enable",
5151
"release": "pnpm build && pnpm changeset publish"
5252
},

0 commit comments

Comments
 (0)