message: build(aio): provide cleaner scripts for local build switching
  PR Close
diff: "author": "Angular",
  "license": "MIT",
  "scripts": {
  + "aio-use-local": "node tools/ng-packages-installer overwrite .",
  + "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",
  "prebuild": "yarn setup",
  "pree2e": "yarn check-env && yarn ~~update-webdriver",
  "e2e": "ng e2e --no-webdriver-update",
  "presetup": "yarn ~~check-env && yarn install && yarn boilerplate:remove",
  - "setup": "node tools/ng-packages-installer restore . && yarn boilerplate:add",
  + "setup": "yarn aio-use-npm && yarn boilerplate:add",
  "postsetup": "yarn build-ie-polyfills && yarn generate-plunkers && yarn generate-zips && yarn docs",
  "presetup-local": "yarn presetup",
  - "setup-local": "node tools/ng-packages-installer overwrite . && yarn boilerplate:add --local",
  + "setup-local": "yarn aio-use-local && yarn boilerplate:add --local",
  "postsetup-local": "yarn postsetup",
  "pretest-pwa-score-localhost": "yarn build",
  "test-pwa-score-localhost": "concurrently --kill-others --success first \"http-server dist -p 4200 --silent\" \"yarn test-pwa-score http://localhost:4200 90\"",
  "test-pwa-score": "node scripts/test-pwa-score",
  - "example-e2e": "yarn check-ng-packages tools/examples/shared && node ./tools/examples/run-example-e2e",
  + "example-e2e": "yarn example-check-local && node ./tools/examples/run-example-e2e",
  "example-lint": "tslint -c \"content/examples/tslint.json\" \"content/examples/**/*.ts\" -e \"content/examples/styleguide/**/*.avoid.ts\"",
  + "example-use-local": "node tools/ng-packages-installer overwrite ./tools/examples/shared",
  + "example-use-npm": "node tools/ng-packages-installer restore ./tools/examples/shared",
  + "example-check-local": "node tools/ng-packages-installer check ./tools/examples/shared",
  "deploy-preview": "scripts/deploy-preview.sh",
  "deploy-production": "scripts/deploy-to-firebase.sh",
  - "check-ng-packages": "node tools/ng-packages-installer check",
  "check-env": "yarn ~~check-env",
  - "postcheck-env": "yarn check-ng-packages .",
  + "postcheck-env": "yarn aio-check-local",
  "payload-size": "scripts/payload.sh",
  "predocs": "rimraf src/generated/{docs,*.json}",
  "docs": "dgeni ./tools/transforms/angular.io-package",
  