chore: bootstrap on prepare instead of on postinstall

info: https://docs.npmjs.com/misc/scripts
This commit is contained in:
Sérgio Ramos 2017-05-25 20:06:53 +01:00
parent 66ad5499fb
commit b9aa47a7f4

View File

@ -20,9 +20,9 @@
"publish": "lerna publish --conventional-commits", "publish": "lerna publish --conventional-commits",
"clean": "lerna clean --yes", "clean": "lerna clean --yes",
"bootstrap": "lerna bootstrap", "bootstrap": "lerna bootstrap",
"postinstall": "run-s clean bootstrap",
"commitmsg": "exit 0 # conventional-changelog-lint -e", "commitmsg": "exit 0 # conventional-changelog-lint -e",
"precommit": "run-s lint lint-staged test", "precommit": "run-s lint lint-staged test",
"prepare": "run-s clean bootstrap",
"dev:ui-toolkit": "lerna run watch --scope joyent-ui-toolkit", "dev:ui-toolkit": "lerna run watch --scope joyent-ui-toolkit",
"dev:cp-frontend": "lerna run start --scope joyent-cp-frontend", "dev:cp-frontend": "lerna run start --scope joyent-cp-frontend",
"dev:gql-mock-server": "lerna run dev --scope joyent-cp-gql-mock-server", "dev:gql-mock-server": "lerna run dev --scope joyent-cp-gql-mock-server",