Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
613
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.48 KB | None | 0 0
  1. {
  2.   "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3.   "version": 1,
  4.   "newProjectRoot": "projects",
  5.   "projects": {
  6.     "myTestApp": {
  7.       "projectType": "application",
  8.       "schematics": {},
  9.       "root": "",
  10.       "sourceRoot": "src",
  11.       "prefix": "app",
  12.       "architect": {
  13.         "build": {
  14.           "builder": "@angular-devkit/build-angular:browser",
  15.           "options": {
  16.             "outputPath": "dist/myTestApp",
  17.             "index": "src/index.html",
  18.             "main": "src/main.ts",
  19.             "polyfills": "src/polyfills.ts",
  20.             "tsConfig": "tsconfig.app.json",
  21.             "aot": false,
  22.             "assets": [
  23.               "src/favicon.ico",
  24.               "src/assets"
  25.             ],
  26.             "styles": [
  27.               "src/styles.css"
  28.             ],
  29.             "scripts": []
  30.           },
  31.           "configurations": {
  32.             "production": {
  33.               "fileReplacements": [
  34.                 {
  35.                   "replace": "src/environments/environment.ts",
  36.                   "with": "src/environments/environment.prod.ts"
  37.                 }
  38.               ],
  39.               "optimization": true,
  40.               "outputHashing": "all",
  41.               "sourceMap": false,
  42.               "extractCss": true,
  43.               "namedChunks": false,
  44.               "aot": true,
  45.               "extractLicenses": true,
  46.               "vendorChunk": false,
  47.               "buildOptimizer": true,
  48.               "budgets": [
  49.                 {
  50.                   "type": "initial",
  51.                   "maximumWarning": "2mb",
  52.                   "maximumError": "5mb"
  53.                 }
  54.               ]
  55.             }
  56.           }
  57.         },
  58.         "serve": {
  59.           "builder": "@angular-devkit/build-angular:dev-server",
  60.           "options": {
  61.             "browserTarget": "myTestApp:build"
  62.           },
  63.           "configurations": {
  64.             "production": {
  65.               "browserTarget": "myTestApp:build:production"
  66.             }
  67.           }
  68.         },
  69.         "extract-i18n": {
  70.           "builder": "@angular-devkit/build-angular:extract-i18n",
  71.           "options": {
  72.             "browserTarget": "myTestApp:build"
  73.           }
  74.         },
  75.         "test": {
  76.           "builder": "@angular-devkit/build-angular:karma",
  77.           "options": {
  78.             "main": "src/test.ts",
  79.             "polyfills": "src/polyfills.ts",
  80.             "tsConfig": "tsconfig.spec.json",
  81.             "karmaConfig": "karma.conf.js",
  82.             "assets": [
  83.               "src/favicon.ico",
  84.               "src/assets"
  85.             ],
  86.             "styles": [
  87.               "src/styles.css"
  88.             ],
  89.             "scripts": []
  90.           }
  91.         },
  92.         "lint": {
  93.           "builder": "@angular-devkit/build-angular:tslint",
  94.           "options": {
  95.             "tsConfig": [
  96.               "tsconfig.app.json",
  97.               "tsconfig.spec.json",
  98.               "e2e/tsconfig.json"
  99.             ],
  100.             "exclude": [
  101.               "**/node_modules/**"
  102.             ]
  103.           }
  104.         },
  105.         "e2e": {
  106.           "builder": "@angular-devkit/build-angular:protractor",
  107.           "options": {
  108.             "protractorConfig": "e2e/protractor.conf.js",
  109.             "devServerTarget": "myTestApp:serve"
  110.           },
  111.           "configurations": {
  112.             "production": {
  113.               "devServerTarget": "myTestApp:serve:production"
  114.             }
  115.           }
  116.         }
  117.       }
  118.     }},
  119.   "defaultProject": "myTestApp"
  120. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement