Uses lokal installation of ng in preference of the global one

parent 6f808753
......@@ -42,7 +42,6 @@ npm_test:
- echo "deb stable main" >> /etc/apt/sources.list.d/google-chrome.list
- apt-get -y update
- apt-get -y install google-chrome-stable
- npm i -g @angular/cli@6.0.3
- npm test
......@@ -59,7 +58,6 @@ build:
- node_modules/
- echo $STAGING_SERVER_ENDPOINTS > src/assets/serverEndpoint.json
- npm i -g @angular/cli@6.0.3
- npm run build:SSR
......@@ -10,20 +10,20 @@
"scripts": {
"ng": "ng",
"start:SSR": "cd dist && node server",
"start:DEV": "ng serve --host --port 4200 --disable-host-check --aot",
"build:DEV": "ng serve --host --port 4200 --disable-host-check --aot --prod",
"start:DEV": "./node_modules/.bin/ng serve --host --port 4200 --disable-host-check --aot",
"build:DEV": "./node_modules/.bin/ng serve --host --port 4200 --disable-host-check --aot --prod",
"build:SSR": "npm run build:PROD && npm run purify && npm run build:SERVER && npm run webpack:SERVER",
"build:SERVER": "ng run frontend:server",
"build:PROD": "ng build --prod",
"build:PROD-STATS": "ng build --prod --stats-json",
"build:SERVER": "./node_modules/.bin/ng run frontend:server",
"build:PROD": "./node_modules/.bin/ng build --prod",
"build:PROD-STATS": "./node_modules/.bin/ng build --prod --stats-json",
"bundle-report": "webpack-bundle-analyzer dist/browser/stats.json",
"webpack:SERVER": "webpack --config webpack.server.config.js --progress --colors",
"test": "ng test --browsers=ChromeHeadless --watch=false --source-map=false",
"test:DEV": "ng test --browsers=Chrome --karma-config=src/ --source-map=false",
"test:DEV:HEADLESS": "ng test --browsers=ChromeHeadless --karma-config=src/ --source-map=false",
"lint": "ng lint",
"test": "./node_modules/.bin/ng test --browsers=ChromeHeadless --watch=false --source-map=false",
"test:DEV": "./node_modules/.bin/ng test --browsers=Chrome --karma-config=src/ --source-map=false",
"test:DEV:HEADLESS": "./node_modules/.bin/ng test --browsers=ChromeHeadless --karma-config=src/ --source-map=false",
"lint": "./node_modules/.bin/ng lint",
"pree2e": "webdriver-manager update --standalone false --gecko false",
"e2e": "ng e2e --no-webdriver-update",
"e2e": "./node_modules/.bin/ng e2e --no-webdriver-update",
"purify": "node purifycss.js",
"compress": "gzip dist/browser/** -r",
"http-startup": "http-server dist/browser/ -p 4711 --gzip",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment