added documentation and updated VTHs
[it/otf.git] / otf-frontend / angular.json
1 {\r
2   "$schema": "./node_modules/@angular/cli/lib/config/schema.json",\r
3   "version": 1,\r
4   "newProjectRoot": "projects",\r
5   "projects": {\r
6     "test-ng4": {\r
7       "root": "",\r
8       "sourceRoot": "client/src",\r
9       "projectType": "application",\r
10       "architect": {\r
11         "build": {\r
12           "builder": "@angular-devkit/build-angular:browser",\r
13           "options": {\r
14             "outputPath": "client/dist",\r
15             "index": "client/src/index.html",\r
16             "main": "client/src/main.ts",\r
17             "tsConfig": "client/src/tsconfig.app.json",\r
18             "polyfills": "client/src/polyfills.ts",\r
19             "assets": [\r
20               "client/src/assets",\r
21               "client/src/favicon.ico"\r
22             ], \r
23             "scripts": [\r
24               "node_modules/jquery/dist/jquery.js",\r
25               "node_modules/datatables.net/js/jquery.dataTables.js"\r
26             ],\r
27             "styles": [\r
28               "node_modules/font-awesome/css/font-awesome.css",\r
29               "node_modules/material-design-icons/iconfont/material-icons.css",\r
30               "client/src/styles/app.scss",\r
31               "node_modules/bpmn-js/dist/assets/diagram-js.css",\r
32               "node_modules/bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css",\r
33               "node_modules/bpmn-js-properties-panel/styles/properties.less",\r
34               "node_modules/bpmn-font/dist/css/bpmn.css",\r
35               "node_modules/diagram-js-minimap/assets/diagram-js-minimap.css",\r
36               "node_modules/datatables.net-dt/css/jquery.dataTables.css"\r
37             ]\r
38           },\r
39           "configurations": {\r
40             "production": {\r
41               "optimization": false,\r
42               "outputHashing": "all",\r
43               "sourceMap": false,\r
44               "extractCss": true,\r
45               "namedChunks": false,\r
46               "aot": false,\r
47               "extractLicenses": true,\r
48               "vendorChunk": false,\r
49               "buildOptimizer": false,\r
50               "fileReplacements": [\r
51                 {\r
52                   "replace": "client/src/environments/environment.ts",\r
53                   "with": "client/src/environments/environment.prod.ts"\r
54                 }\r
55               ]\r
56             }\r
57           }\r
58         },\r
59         "serve": {\r
60           "builder": "@angular-devkit/build-angular:dev-server",\r
61           "options": {\r
62             "browserTarget": "test-ng4:build"\r
63           },\r
64           "configurations": {\r
65             "production": {\r
66               "browserTarget": "test-ng4:build:production"\r
67             }\r
68           }\r
69         },\r
70         "extract-i18n": {\r
71           "builder": "@angular-devkit/build-angular:extract-i18n",\r
72           "options": {\r
73             "browserTarget": "test-ng4:build"\r
74           }\r
75         },\r
76         "test": {\r
77           "builder": "@angular-devkit/build-angular:karma",\r
78           "options": {\r
79             "main": "client/src/test.ts",\r
80             "karmaConfig": "./karma.conf.js",\r
81             "polyfills": "client/src/polyfills.ts",\r
82             "tsConfig": "client/src/tsconfig.spec.json",\r
83             "scripts": [\r
84               "node_modules/chart.js/dist/Chart.js"\r
85             ],\r
86             "styles": [\r
87               "node_modules/font-awesome/css/font-awesome.css",\r
88               "node_modules/material-design-icons/iconfont/material-icons.css",\r
89               "client/src/styles/app.scss"\r
90             ],\r
91             "assets": [\r
92               "client/src/assets",\r
93               "client/src/favicon.ico"\r
94             ]\r
95           }\r
96         },\r
97         "lint": {\r
98           "builder": "@angular-devkit/build-angular:tslint",\r
99           "options": {\r
100             "tsConfig": [\r
101               "client/src/tsconfig.app.json",\r
102               "client/src/tsconfig.spec.json"\r
103             ],\r
104             "exclude": [\r
105               "**/node_modules/**"\r
106             ]\r
107           }\r
108         }\r
109       }\r
110     },\r
111     "test-ng4-e2e": {\r
112       "root": "",\r
113       "sourceRoot": "",\r
114       "projectType": "application",\r
115       "architect": {\r
116         "e2e": {\r
117           "builder": "@angular-devkit/build-angular:protractor",\r
118           "options": {\r
119             "protractorConfig": "./protractor.conf.js",\r
120             "devServerTarget": "test-ng4:serve"\r
121           }\r
122         },\r
123         "lint": {\r
124           "builder": "@angular-devkit/build-angular:tslint",\r
125           "options": {\r
126             "tsConfig": [\r
127               "client/e2e/tsconfig.e2e.json"\r
128             ],\r
129             "exclude": [\r
130               "**/node_modules/**"\r
131             ]\r
132           }\r
133         }\r
134       }\r
135     }\r
136   },\r
137   "defaultProject": "test-ng4",\r
138   "schematics": {\r
139     "@schematics/angular:component": {\r
140       "prefix": "app",\r
141       "styleext": "scss"\r
142     },\r
143     "@schematics/angular:directive": {\r
144       "prefix": "app"\r
145     }\r
146   }\r
147 }\r