8e47348a7f03b66d2c43ecd07acd0045a54952cb
[portal/ric-dashboard.git] / dashboard / webapp-frontend / angular.json
1 {
2   "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3   "version": 1,
4   "newProjectRoot": "projects",
5   "projects": {
6     "dashApp": {
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/dashApp",
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               "node_modules/angular-bootstrap-md/assets/scss/bootstrap/bootstrap.scss",
36               "node_modules/angular-bootstrap-md/assets/scss/mdb.scss",
37               "node_modules/material-design-icons/iconfont/material-icons.css",
38               "src/styles.scss",
39               "node_modules/ngx-toastr/toastr.css"
40             ],
41             "scripts": [
42             "node_modules/chart.js/dist/Chart.js",
43             "node_modules/hammerjs/hammer.min.js"
44             ]
45           },
46           "configurations": {
47             "production": {
48               "fileReplacements": [
49                 {
50                   "replace": "src/environments/environment.ts",
51                   "with": "src/environments/environment.prod.ts"
52                 }
53               ],
54               "optimization": true,
55               "outputHashing": "all",
56               "sourceMap": false,
57               "extractCss": true,
58               "namedChunks": false,
59               "aot": true,
60               "extractLicenses": true,
61               "vendorChunk": false,
62               "buildOptimizer": true,
63               "budgets": [
64                 {
65                   "type": "initial",
66                   "maximumWarning": "2mb",
67                   "maximumError": "5mb"
68                 },
69                 {
70                   "type": "anyComponentStyle",
71                   "maximumWarning": "6kb"
72                 }
73               ]
74             }
75           }
76         },
77         "serve": {
78           "builder": "@angular-devkit/build-angular:dev-server",
79           "options": {
80             "browserTarget": "dashApp:build"
81           },
82           "configurations": {
83             "production": {
84               "browserTarget": "dashApp:build:production"
85             }
86           }
87         },
88         "extract-i18n": {
89           "builder": "@angular-devkit/build-angular:extract-i18n",
90           "options": {
91             "browserTarget": "dashApp:build"
92           }
93         },
94         "test": {
95           "builder": "@angular-devkit/build-angular:karma",
96           "options": {
97             "main": "src/test.ts",
98             "polyfills": "src/polyfills.ts",
99             "tsConfig": "src/tsconfig.spec.json",
100             "karmaConfig": "src/karma.conf.js",
101             "styles": [
102               "src/styles.css"
103             ],
104             "scripts": [],
105             "assets": [
106               "src/favicon.ico",
107               "src/assets"
108             ]
109           }
110         },
111         "lint": {
112           "builder": "@angular-devkit/build-angular:tslint",
113           "options": {
114             "tsConfig": [
115               "src/tsconfig.app.json",
116               "src/tsconfig.spec.json"
117             ],
118             "exclude": [
119               "**/node_modules/**"
120             ]
121           }
122         }
123       }
124     },
125     "dashApp-e2e": {
126       "root": "e2e/",
127       "projectType": "application",
128       "prefix": "",
129       "architect": {
130         "e2e": {
131           "builder": "@angular-devkit/build-angular:protractor",
132           "options": {
133             "protractorConfig": "e2e/protractor.conf.js",
134             "devServerTarget": "dashApp:serve"
135           },
136           "configurations": {
137             "production": {
138               "devServerTarget": "dashApp:serve:production"
139             }
140           }
141         },
142         "lint": {
143           "builder": "@angular-devkit/build-angular:tslint",
144           "options": {
145             "tsConfig": "e2e/tsconfig.e2e.json",
146             "exclude": [
147               "**/node_modules/**"
148             ]
149           }
150         }
151       }
152     }
153   },
154   "defaultProject": "dashApp"
155 }