Skip to content

Commit 1ac5a06

Browse files
authored
fix(package.json): Replacing postinstall with prepare script (#14)
`postinstall` runs after the package is installed on another project while `prepare` only run in build steps and local installations
1 parent 3dd0344 commit 1ac5a06

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
@@ -11,7 +11,7 @@
1111
"lint": "kcd-scripts lint",
1212
"precommit": "kcd-scripts precommit",
1313
"predeploy": "npm run storybook:build",
14-
"postinstall": "cd date-fns-v2/ && npm install",
14+
"prepare": "cd date-fns-v2/ && npm install",
1515
"semantic-release": "semantic-release",
1616
"storybook": "start-storybook -p 9001 -c stories",
1717
"storybook:build": "build-storybook -c stories",

0 commit comments

Comments
 (0)