Add test of typed policy editor component
[portal/nonrtric-controlpanel.git] / webapp-frontend / angular.json
1 {
2   "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3   "version": 1,
4   "newProjectRoot": "projects",
5   "projects": {
6     "controlpanelApp": {
7       "root": "",
8       "sourceRoot": "src",
9       "projectType": "application",
10       "prefix": "rd",
11       "schematics": {
12         "@schematics/angular:component": {
13           "style": "scss"
14         }
15       },
16       "architect": {
17         "build": {
18           "builder": "@angular-devkit/build-angular:browser",
19           "options": {
20             "aot": true,
21             "outputPath": "dist/controlpanelApp",
22             "index": "src/index.html",
23             "main": "src/main.ts",
24             "polyfills": "src/polyfills.ts",
25             "tsConfig": "src/tsconfig.app.json",
26             "assets": [
27               "src/favicon.ico",
28               "src/assets"
29             ],
30             "styles": [
31               "node_modules/@fortawesome/fontawesome-free/scss/fontawesome.scss",
32               "node_modules/@fortawesome/fontawesome-free/scss/solid.scss",
33               "node_modules/@fortawesome/fontawesome-free/scss/regular.scss",
34               "node_modules/@fortawesome/fontawesome-free/scss/brands.scss",
35               "src/styles.scss",
36               "node_modules/ngx-toastr/toastr.css"
37             ],
38             "scripts": [
39               "node_modules/chart.js/dist/Chart.js",
40               "node_modules/hammerjs/hammer.min.js"
41             ]
42           },
43           "configurations": {
44             "production": {
45               "fileReplacements": [
46                 {
47                   "replace": "src/environments/environment.ts",
48                   "with": "src/environments/environment.prod.ts"
49                 }
50               ],
51               "optimization": true,
52               "outputHashing": "all",
53               "sourceMap": false,
54               "extractCss": true,
55               "namedChunks": false,
56               "aot": true,
57               "extractLicenses": true,
58               "vendorChunk": false,
59               "buildOptimizer": true,
60               "budgets": [
61                 {
62                   "type": "initial",
63                   "maximumWarning": "2mb",
64                   "maximumError": "5mb"
65                 },
66                 {
67                   "type": "anyComponentStyle",
68                   "maximumWarning": "6kb"
69                 }
70               ]
71             },
72             "mock": {
73               "budgets": [
74                 {
75                   "type": "anyComponentStyle",
76                   "maximumWarning": "6kb"
77                 }
78               ],
79               "fileReplacements": [
80                 {
81                   "replace": "src/environments/environment.ts",
82                   "with": "src/environments/environment.mock.ts"
83                 }
84               ]
85             }
86           }
87         },
88         "serve": {
89           "builder": "@angular-devkit/build-angular:dev-server",
90           "options": {
91             "browserTarget": "controlpanelApp:build"
92           },
93           "configurations": {
94             "production": {
95               "browserTarget": "controlpanelApp:build:production"
96             },
97             "mock": {
98               "browserTarget": "controlpanelApp:build:mock"
99             }
100           }
101         },
102         "extract-i18n": {
103           "builder": "@angular-devkit/build-angular:extract-i18n",
104           "options": {
105             "browserTarget": "controlpanelApp:build"
106           }
107         },
108         "test": {
109           "builder": "@angular-devkit/build-angular:karma",
110           "options": {
111             "main": "src/test.ts",
112             "polyfills": "src/polyfills.ts",
113             "tsConfig": "src/tsconfig.spec.json",
114             "karmaConfig": "src/karma.conf.js",
115             "styles": [
116               "src/styles.css"
117             ],
118             "scripts": [],
119             "assets": [
120               "src/favicon.ico",
121               "src/assets"
122             ]
123           }
124         },
125         "lint": {
126           "builder": "@angular-devkit/build-angular:tslint",
127           "options": {
128             "tsConfig": [
129               "src/tsconfig.app.json",
130               "src/tsconfig.spec.json"
131             ],
132             "exclude": [
133               "**/node_modules/**"
134             ]
135           }
136         }
137       }
138     },
139     "controlpanelApp-e2e": {
140       "root": "e2e/",
141       "projectType": "application",
142       "prefix": "",
143       "architect": {
144         "e2e": {
145           "builder": "@angular-devkit/build-angular:protractor",
146           "options": {
147             "protractorConfig": "e2e/protractor.conf.js",
148             "devServerTarget": "controlpanelApp:serve"
149           },
150           "configurations": {
151             "production": {
152               "devServerTarget": "controlpanelApp:serve:production"
153             }
154           }
155         },
156         "lint": {
157           "builder": "@angular-devkit/build-angular:tslint",
158           "options": {
159             "tsConfig": "e2e/tsconfig.e2e.json",
160             "exclude": [
161               "**/node_modules/**"
162             ]
163           }
164         }
165       }
166     }
167   },
168   "defaultProject": "controlpanelApp",
169   "cli": {
170     "analytics": false
171   }
172 }