From 2768b681687dfbade640bf45611a8f4ef2ba275a Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Tue, 27 Jun 2017 13:17:13 +0100 Subject: [PATCH] install globally pkg pre build --- scripts/npm-build-all.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/npm-build-all.sh b/scripts/npm-build-all.sh index 2946a329f1..ea42dbf05f 100755 --- a/scripts/npm-build-all.sh +++ b/scripts/npm-build-all.sh @@ -99,13 +99,13 @@ cd "$DIR/../ng2-components/" if $EXEC_CLEAN == true; then echo "====== Clean ng2-components =====" - npm install rimraf + npm install rimraf -g npm run clean fi if $EXEC_INSTALL == true; then echo "====== Regenerate global ng2-components package.json =====" - npm install package-json-merge + npm install package-json-merge -g npm run pkg-build echo "====== Install ng2-components dependencies =====" npm install