From c3c513ed9e9c700c423c5e36695dc9dba44edfcd Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Fri, 13 Apr 2018 21:21:17 +0300 Subject: [PATCH] build(aio): remove redundant flags from cli commands (#23234) PR Close #23234 --- aio/package.json | 5 ++--- scripts/ci/test-aio.sh | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/aio/package.json b/aio/package.json index 4ece11dfc3..162e23ec22 100644 --- a/aio/package.json +++ b/aio/package.json @@ -12,7 +12,7 @@ "aio-use-npm": "node tools/ng-packages-installer restore .", "aio-check-local": "node tools/ng-packages-installer check .", "ng": "yarn check-env && ng", - "start": "yarn check-env && ng serve --aot", + "start": "yarn check-env && ng serve", "prebuild": "yarn setup", "build": "yarn ~~build", "prebuild-local": "yarn setup-local", @@ -21,7 +21,6 @@ "test": "yarn check-env && ng test", "pree2e": "yarn check-env && yarn update-webdriver", "e2e": "ng e2e --no-webdriver-update", - "e2e-prod": "yarn e2e --environment=dev --target=production", "presetup": "yarn install --frozen-lockfile && yarn ~~check-env && yarn boilerplate:remove", "setup": "yarn aio-use-npm && yarn example-use-npm", "postsetup": "yarn boilerplate:add && yarn build-ie-polyfills && yarn docs", @@ -61,7 +60,7 @@ "build-ie-polyfills": "yarn webpack-cli src/ie-polyfills.js -o src/generated/ie-polyfills.min.js --mode production", "update-webdriver": "webdriver-manager update --standalone false --gecko false $CHROMEDRIVER_VERSION_ARG", "~~check-env": "node scripts/check-environment", - "~~build": "ng build --prod --configuration=stable", + "~~build": "ng build --configuration=stable", "post~~build": "yarn sw-manifest && yarn sw-copy" }, "engines": { diff --git a/scripts/ci/test-aio.sh b/scripts/ci/test-aio.sh index 2db2b30b45..11d7967b76 100755 --- a/scripts/ci/test-aio.sh +++ b/scripts/ci/test-aio.sh @@ -27,14 +27,13 @@ source ${thisDir}/_travis-fold.sh # Run unit tests travisFoldStart "test.aio.unit" - yarn test --single-run + yarn test travisFoldEnd "test.aio.unit" # Run e2e tests travisFoldStart "test.aio.e2e" - # Use `production` mode to catch issues introduced by build optimizations. - yarn e2e-prod + yarn e2e travisFoldEnd "test.aio.e2e" # Run unit tests for Firebase redirects