SO Monitoring UI
[so.git] / so-monitoring / so-monitoring-ui / src / main / frontend / angular.json
1 {
2   "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3   "version": 1,
4   "newProjectRoot": "projects",
5   "projects": {
6     "ONAP-SO-Monitor": {
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/ONAP-SO-Monitor",
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.png",
27               "src/assets"
28             ],
29             "styles": [{
30                 "input": "node_modules/bootstrap/dist/css/bootstrap.min.css"
31               },
32               "src/styles.scss",
33               "node_modules/toastr/build/toastr.min.css"
34             ],
35             "scripts": ["node_modules/jquery/dist/jquery.min.js", "node_modules/toastr/build/toastr.min.js"]
36           },
37           "configurations": {
38             "production": {
39               "fileReplacements": [{
40                 "replace": "src/environments/environment.ts",
41                 "with": "src/environments/environment.prod.ts"
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             }
53           }
54         },
55         "serve": {
56           "builder": "@angular-devkit/build-angular:dev-server",
57           "options": {
58             "browserTarget": "ONAP-SO-Monitor:build"
59           },
60           "configurations": {
61             "production": {
62               "browserTarget": "ONAP-SO-Monitor:build:production"
63             }
64           }
65         },
66         "extract-i18n": {
67           "builder": "@angular-devkit/build-angular:extract-i18n",
68           "options": {
69             "browserTarget": "ONAP-SO-Monitor:build"
70           }
71         },
72         "test": {
73           "builder": "@angular-devkit/build-angular:karma",
74           "options": {
75             "main": "src/test.ts",
76             "polyfills": "src/polyfills.ts",
77             "tsConfig": "src/tsconfig.spec.json",
78             "karmaConfig": "src/karma.conf.js",
79             "styles": [{
80                 "input": "node_modules/@progress/kendo-theme-default/dist/all.css"
81               },
82               "src/styles.scss"
83             ],
84             "scripts": [],
85             "assets": [
86               "src/favicon.ico",
87               "src/assets"
88             ]
89           }
90         },
91         "lint": {
92           "builder": "@angular-devkit/build-angular:tslint",
93           "options": {
94             "tsConfig": [
95               "src/tsconfig.app.json",
96               "src/tsconfig.spec.json"
97             ],
98             "exclude": [
99               "**/node_modules/**"
100             ]
101           }
102         }
103       }
104     },
105     "ONAP-SO-Monitor-e2e": {
106       "root": "e2e/",
107       "projectType": "application",
108       "architect": {
109         "e2e": {
110           "builder": "@angular-devkit/build-angular:protractor",
111           "options": {
112             "protractorConfig": "e2e/protractor.conf.js",
113             "devServerTarget": "ONAP-SO-Monitor:serve"
114           },
115           "configurations": {
116             "production": {
117               "devServerTarget": "ONAP-SO-Monitor:serve:production"
118             }
119           }
120         },
121         "lint": {
122           "builder": "@angular-devkit/build-angular:tslint",
123           "options": {
124             "tsConfig": "e2e/tsconfig.e2e.json",
125             "exclude": [
126               "**/node_modules/**"
127             ]
128           }
129         }
130       }
131     }
132   },
133   "defaultProject": "ONAP-SO-Monitor"
134 }