From 2008c50ebf35d05d8aa293eac2eff512a7a5a3ef Mon Sep 17 00:00:00 2001 From: Jonas Hermsmeier Date: Tue, 27 Jun 2017 22:27:34 +0200 Subject: [PATCH] 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 --- scripts/build/dependencies-npm.sh | 4 ++-- scripts/ci/install.sh | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/build/dependencies-npm.sh b/scripts/build/dependencies-npm.sh index 36a6ab20..1a846286 100755 --- a/scripts/build/dependencies-npm.sh +++ b/scripts/build/dependencies-npm.sh @@ -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 diff --git a/scripts/ci/install.sh b/scripts/ci/install.sh index b92d8030..62857dc8 100755 --- a/scripts/ci/install.sh +++ b/scripts/ci/install.sh @@ -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