From b9aa47a7f4e16b97a713b509d08c50465cd8e5eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Thu, 25 May 2017 20:06:53 +0100 Subject: [PATCH] chore: bootstrap on `prepare` instead of on `postinstall` info: https://docs.npmjs.com/misc/scripts --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2894b80e..e8b0735d 100644 --- a/package.json +++ b/package.json @@ -20,9 +20,9 @@ "publish": "lerna publish --conventional-commits", "clean": "lerna clean --yes", "bootstrap": "lerna bootstrap", - "postinstall": "run-s clean bootstrap", "commitmsg": "exit 0 # conventional-changelog-lint -e", "precommit": "run-s lint lint-staged test", + "prepare": "run-s clean bootstrap", "dev:ui-toolkit": "lerna run watch --scope joyent-ui-toolkit", "dev:cp-frontend": "lerna run start --scope joyent-cp-frontend", "dev:gql-mock-server": "lerna run dev --scope joyent-cp-gql-mock-server",