chore(scripts): Make npm output less verbose (#1554)

This adds the `--silent` flag to several npm commands,
ideally making the output less verbose, for better overview in CI logs.

Change-Type: patch
This commit is contained in:
Jonas Hermsmeier 2017-06-27 22:27:34 +02:00 committed by GitHub
parent 3ab989cf3c
commit 2008c50ebf
2 changed files with 4 additions and 3 deletions

View File

@ -99,9 +99,9 @@ function run_install() {
# When changing between target architectures, rebuild all dependencies,
# since compiled add-ons will not work otherwise.
npm rebuild
npm rebuild --silent
npm install $INSTALL_OPTS --fetch-retries 10 --fetch-retry-maxtimeout 180000
npm install --silent $INSTALL_OPTS --fetch-retries 10 --fetch-retry-maxtimeout 180000
if [ "$ARGV_PRODUCTION" == "true" ]; then

View File

@ -68,7 +68,8 @@ else
./scripts/build/check-dependency.sh make
npm config set spin=false
npm install -g uglify-es@3.0.3
npm config set progress=false
npm install -g --silent uglify-es@3.0.3
pip install -r requirements.txt
make info