changes for centos updated to iotgateway blueprint
[eliot.git] / blueprints / common / eliot-ui / frontend-src / angular.json
1 {
2   "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3   "version": 1,
4   "newProjectRoot": "projects",
5   "projects": {
6     "demoedgex": {
7       "projectType": "application",
8       "schematics": {
9         "@schematics/angular:component": {
10           "style": "scss"
11         }
12       },
13       "root": "",
14       "sourceRoot": "src",
15       "prefix": "app",
16       "architect": {
17         "build": {
18           "builder": "@angular-devkit/build-angular:browser",
19           "options": {
20             "outputPath": "dist/demoedgex",
21             "index": "src/index.html",
22             "main": "src/main.ts",
23             "polyfills": "src/polyfills.ts",
24             "tsConfig": "tsconfig.app.json",
25             "aot": false,
26             "assets": [
27               "src/favicon.ico",
28               "src/assets"
29             ],
30             "styles": [
31               "src/styles.scss"
32             ],
33             "scripts": []
34           },
35           "configurations": {
36             "production": {
37               "fileReplacements": [
38                 {
39                   "replace": "src/environments/environment.ts",
40                   "with": "src/environments/environment.prod.ts"
41                 }
42               ],
43               "optimization": true,
44               "outputHashing": "all",
45               "sourceMap": false,
46               "extractCss": true,
47               "namedChunks": false,
48               "aot": true,
49               "extractLicenses": true,
50               "vendorChunk": false,
51               "buildOptimizer": true,
52               "budgets": [
53                 {
54                   "type": "initial",
55                   "maximumWarning": "2mb",
56                   "maximumError": "5mb"
57                 },
58                 {
59                   "type": "anyComponentStyle",
60                   "maximumWarning": "6kb",
61                   "maximumError": "10kb"
62                 }
63               ]
64             }
65           }
66         },
67         "serve": {
68           "builder": "@angular-devkit/build-angular:dev-server",
69           "options": {
70             "browserTarget": "demoedgex:build",
71             "proxyConfig": "proxy-conf.json"
72           },
73           "configurations": {
74             "production": {
75               "browserTarget": "demoedgex:build:production"
76             }
77           }
78         },
79         "extract-i18n": {
80           "builder": "@angular-devkit/build-angular:extract-i18n",
81           "options": {
82             "browserTarget": "demoedgex:build"
83           }
84         },
85         "test": {
86           "builder": "@angular-devkit/build-angular:karma",
87           "options": {
88             "main": "src/test.ts",
89             "polyfills": "src/polyfills.ts",
90             "tsConfig": "tsconfig.spec.json",
91             "karmaConfig": "karma.conf.js",
92             "assets": [
93               "src/favicon.ico",
94               "src/assets"
95             ],
96             "styles": [
97               "src/styles.scss"
98             ],
99             "scripts": []
100           }
101         },
102         "lint": {
103           "builder": "@angular-devkit/build-angular:tslint",
104           "options": {
105             "tsConfig": [
106               "tsconfig.app.json",
107               "tsconfig.spec.json",
108               "e2e/tsconfig.json"
109             ],
110             "exclude": [
111               "**/node_modules/**"
112             ]
113           }
114         },
115         "e2e": {
116           "builder": "@angular-devkit/build-angular:protractor",
117           "options": {
118             "protractorConfig": "e2e/protractor.conf.js",
119             "devServerTarget": "demoedgex:serve"
120           },
121           "configurations": {
122             "production": {
123               "devServerTarget": "demoedgex:serve:production"
124             }
125           }
126         }
127       }
128     }},
129   "defaultProject": "demoedgex"
130 }