install globally pkg pre build

This commit is contained in:
Eugenio Romano
2017-06-27 13:17:13 +01:00
parent 00416f76d7
commit 2768b68168

View File

@@ -99,13 +99,13 @@ cd "$DIR/../ng2-components/"
if $EXEC_CLEAN == true; then if $EXEC_CLEAN == true; then
echo "====== Clean ng2-components =====" echo "====== Clean ng2-components ====="
npm install rimraf npm install rimraf -g
npm run clean npm run clean
fi fi
if $EXEC_INSTALL == true; then if $EXEC_INSTALL == true; then
echo "====== Regenerate global ng2-components package.json =====" echo "====== Regenerate global ng2-components package.json ====="
npm install package-json-merge npm install package-json-merge -g
npm run pkg-build npm run pkg-build
echo "====== Install ng2-components dependencies =====" echo "====== Install ng2-components dependencies ====="
npm install npm install