Skip to content

Commit 695c059

Browse files
committed
chore(package.json): replaced "prepare" hook with "postintall"
Replaced "prepare" hook with "postintall" to prevent it from running when publishing a new version
1 parent 0575eb7 commit 695c059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"demo:npm": "yarn --cwd ./demo/react-demo start",
4242
"demo:umd": "yarn --cwd ./demo/javascript-demo/server dev",
4343
"watch": "concurrently \"yarn:watch:*\"",
44-
"prepare": "husky"
44+
"postinstall": "husky"
4545
},
4646
"devDependencies": {
4747
"@babel/cli": "^7.27.2",

0 commit comments

Comments
 (0)