Initial commit of RIC Dashboard webapp
[portal/ric-dashboard.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     "dashApp": {
7       "root": "",
8       "sourceRoot": "src",
9       "projectType": "application",
10       "prefix": "app",
11       "schematics": {
12         "@schematics/angular:component": {
13             "styleext": "scss"
14             }
15         },
16       "architect": {
17         "build": {
18           "builder": "@angular-devkit/build-angular:browser",
19           "options": {
20             "outputPath": "dist/dashApp",
21             "index": "src/index.html",
22             "main": "src/main.ts",
23             "polyfills": "src/polyfills.ts",
24             "tsConfig": "src/tsconfig.app.json",
25             "assets": [
26               "src/favicon.ico",
27               "src/assets"
28             ],
29             "styles": [
30                 "node_modules/@fortawesome/fontawesome-free/scss/fontawesome.scss",
31                 "node_modules/@fortawesome/fontawesome-free/scss/solid.scss",
32                 "node_modules/@fortawesome/fontawesome-free/scss/regular.scss",
33                 "node_modules/@fortawesome/fontawesome-free/scss/brands.scss",
34                 "node_modules/angular-bootstrap-md/scss/bootstrap/bootstrap.scss",
35                 "node_modules/angular-bootstrap-md/scss/mdb-free.scss",
36                 "node_modules/material-design-icons/iconfont/material-icons.css",
37                 "src/styles.scss"
38             ],
39             "scripts": [
40             "node_modules/chart.js/dist/Chart.js",
41             "node_modules/hammerjs/hammer.min.js"
42             ]
43           },
44           "configurations": {
45             "production": {
46               "fileReplacements": [
47                 {
48                   "replace": "src/environments/environment.ts",
49                   "with": "src/environments/environment.prod.ts"
50                 }
51               ],
52               "optimization": true,
53               "outputHashing": "all",
54               "sourceMap": false,
55               "extractCss": true,
56               "namedChunks": false,
57               "aot": true,
58               "extractLicenses": true,
59               "vendorChunk": false,
60               "buildOptimizer": true,
61               "budgets": [
62                 {
63                   "type": "initial",
64                   "maximumWarning": "2mb",
65                   "maximumError": "5mb"
66                 }
67               ]
68             }
69           }
70         },
71         "serve": {
72           "builder": "@angular-devkit/build-angular:dev-server",
73           "options": {
74             "browserTarget": "dashApp:build"
75           },
76           "configurations": {
77             "production": {
78               "browserTarget": "dashApp:build:production"
79             }
80           }
81         },
82         "extract-i18n": {
83           "builder": "@angular-devkit/build-angular:extract-i18n",
84           "options": {
85             "browserTarget": "dashApp:build"
86           }
87         },
88         "test": {
89           "builder": "@angular-devkit/build-angular:karma",
90           "options": {
91             "main": "src/test.ts",
92             "polyfills": "src/polyfills.ts",
93             "tsConfig": "src/tsconfig.spec.json",
94             "karmaConfig": "src/karma.conf.js",
95             "styles": [
96               "src/styles.css"
97             ],
98             "scripts": [],
99             "assets": [
100               "src/favicon.ico",
101               "src/assets"
102             ]
103           }
104         },
105         "lint": {
106           "builder": "@angular-devkit/build-angular:tslint",
107           "options": {
108             "tsConfig": [
109               "src/tsconfig.app.json",
110               "src/tsconfig.spec.json"
111             ],
112             "exclude": [
113               "**/node_modules/**"
114             ]
115           }
116         }
117       }
118     },
119     "dashApp-e2e": {
120       "root": "e2e/",
121       "projectType": "application",
122       "prefix": "",
123       "architect": {
124         "e2e": {
125           "builder": "@angular-devkit/build-angular:protractor",
126           "options": {
127             "protractorConfig": "e2e/protractor.conf.js",
128             "devServerTarget": "dashApp:serve"
129           },
130           "configurations": {
131             "production": {
132               "devServerTarget": "dashApp:serve:production"
133             }
134           }
135         },
136         "lint": {
137           "builder": "@angular-devkit/build-angular:tslint",
138           "options": {
139             "tsConfig": "e2e/tsconfig.e2e.json",
140             "exclude": [
141               "**/node_modules/**"
142             ]
143           }
144         }
145       }
146     }
147   },
148   "defaultProject": "dashApp"
149 }