From f121bffdbdbe8a25580e72c37659a2957049adbe Mon Sep 17 00:00:00 2001 From: Douglas Wade Date: Wed, 7 Dec 2016 10:57:32 -0800 Subject: [PATCH] Run bootstrap as a postinstall script (#784) --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 4f884fae3..ce5c5196c 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,14 @@ { "private": true, "scripts": { - "bootstrap": "npm i && npm run bootstrap-no-i", + "bootstrap": "npm i", "bootstrap-no-i": "asini bootstrap", "test": "asini run test", "clean": "rimraf asini-debug.log && asini run clean", "nuke": "asini clean && rm -r node_modules", "changelog": "asini-changelog", - "debug": "cat asini-debug.log && for d in packages/*/npm-debug.log*; do echo $d; cat $d; done" + "debug": "cat asini-debug.log && for d in packages/*/npm-debug.log*; do echo $d; cat $d; done", + "postinstall": "npm run bootstrap-no-i" }, "devDependencies": { "asini": "1.3.0",