Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix npm installation in scripts #957

Merged
merged 9 commits into from
Jul 12, 2017
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@
"jshint": "^2.9.3",
"mocha": "^3.1.2",
"mock-require": "^1.3.0",
"script-loader": "^0.7.0",
"sinon": "^1.17.6",
"supertest": "^2.0.0",
"vows": "0.6.x",
"webpack": "^3.0.0",
"winston": "~0.7.2"
},
"contributors": [
Expand Down
5 changes: 3 additions & 2 deletions scripts/installMacDeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ install_brew_deps(){
brew install glib pkg-config boost cmake yasm log4cxx gettext coreutils
install_nvm_node
nvm use
npm install -y -g node-gyp gulp-cli
npm install -y webpack gulp gulp-eslint@3 run-sequence webpack-stream google-closure-compiler-js del gulp-sourcemaps script-loader expose-loader
npm install
npm install -g node-gyp gulp-cli
npm install webpack gulp gulp-eslint@3 run-sequence webpack-stream google-closure-compiler-js del gulp-sourcemaps script-loader expose-loader
if [ "$DISABLE_SERVICES" != "true" ]; then
brew install rabbitmq mongodb
fi
Expand Down
5 changes: 3 additions & 2 deletions scripts/installUbuntuDeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ install_nvm_node() {
install_apt_deps(){
install_nvm_node
nvm use
npm install -y -g node-gyp gulp-cli
npm install -y webpack gulp gulp-eslint@3 run-sequence webpack-stream google-closure-compiler-js del gulp-sourcemaps script-loader expose-loader
npm install
npm install -g node-gyp gulp-cli
npm install webpack gulp gulp-eslint@3 run-sequence webpack-stream google-closure-compiler-js del gulp-sourcemaps script-loader expose-loader
sudo apt-get install -qq python-software-properties -y
sudo apt-get install -qq software-properties-common -y
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
Expand Down