Skip to content

Commit

Permalink
fix(package.json): Replacing postinstall with prepare script (#14)
Browse files Browse the repository at this point in the history
`postinstall` runs after the package is installed on another project while `prepare` only run in
build steps and local installations
  • Loading branch information
arthurdenner authored Oct 26, 2018
1 parent 3dd0344 commit 1ac5a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"lint": "kcd-scripts lint",
"precommit": "kcd-scripts precommit",
"predeploy": "npm run storybook:build",
"postinstall": "cd date-fns-v2/ && npm install",
"prepare": "cd date-fns-v2/ && npm install",
"semantic-release": "semantic-release",
"storybook": "start-storybook -p 9001 -c stories",
"storybook:build": "build-storybook -c stories",
Expand Down

1 comment on commit 1ac5a06

@vercel
Copy link

@vercel vercel bot commented on 1ac5a06 Oct 26, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.