WIP
[examples/angular-tour-of-heroes] / angular.json
1 {
2   "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3   "version": 1,
4   "newProjectRoot": "projects",
5   "projects": {
6     "angular-tour-of-heroes": {
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/angular-tour-of-heroes",
17             "index": "src/index.html",
18             "main": "src/main.ts",
19             "polyfills": "src/polyfills.ts",
20             "tsConfig": "tsconfig.app.json",
21             "aot": true,
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               "extractLicenses": true,
45               "vendorChunk": false,
46               "buildOptimizer": true,
47               "budgets": [
48                 {
49                   "type": "initial",
50                   "maximumWarning": "2mb",
51                   "maximumError": "5mb"
52                 },
53                 {
54                   "type": "anyComponentStyle",
55                   "maximumWarning": "6kb",
56                   "maximumError": "10kb"
57                 }
58               ]
59             }
60           }
61         },
62         "serve": {
63           "builder": "@angular-devkit/build-angular:dev-server",
64           "options": {
65             "browserTarget": "angular-tour-of-heroes:build"
66           },
67           "configurations": {
68             "production": {
69               "browserTarget": "angular-tour-of-heroes:build:production"
70             }
71           }
72         },
73         "extract-i18n": {
74           "builder": "@angular-devkit/build-angular:extract-i18n",
75           "options": {
76             "browserTarget": "angular-tour-of-heroes:build"
77           }
78         },
79         "test": {
80           "builder": "@angular-devkit/build-angular:karma",
81           "options": {
82             "main": "src/test.ts",
83             "polyfills": "src/polyfills.ts",
84             "tsConfig": "tsconfig.spec.json",
85             "karmaConfig": "karma.conf.js",
86             "assets": [
87               "src/favicon.ico",
88               "src/assets"
89             ],
90             "styles": [
91               "src/styles.css"
92             ],
93             "scripts": []
94           }
95         },
96         "lint": {
97           "builder": "@angular-devkit/build-angular:tslint",
98           "options": {
99             "tsConfig": [
100               "tsconfig.app.json",
101               "tsconfig.spec.json",
102               "e2e/tsconfig.json"
103             ],
104             "exclude": [
105               "**/node_modules/**"
106             ]
107           }
108         },
109         "e2e": {
110           "builder": "@angular-devkit/build-angular:protractor",
111           "options": {
112             "protractorConfig": "e2e/protractor.conf.js",
113             "devServerTarget": "angular-tour-of-heroes:serve"
114           },
115           "configurations": {
116             "production": {
117               "devServerTarget": "angular-tour-of-heroes:serve:production"
118             }
119           }
120         }
121       }
122     }},
123   "defaultProject": "angular-tour-of-heroes"
124 }