blob: 887eaa4f2ae6e7a3974bf11c119f5d32017ac019 [file] [log] [blame]
Sean Condon83fc39f2018-04-19 18:56:13 +01001{
2 "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3 "version": 1,
4 "newProjectRoot": "projects",
5 "projects": {
6 "onos": {
7 "root": "",
8 "sourceRoot": "src/main/webapp",
9 "projectType": "application",
10 "architect": {
11 "build": {
12 "builder": "@angular-devkit/build-angular:browser",
13 "options": {
14 "outputPath": "src/main/webapp/dist",
15 "index": "src/main/webapp/index.html",
16 "main": "src/main/webapp/onos.ts",
17 "tsConfig": "src/main/webapp/tsconfig.app.json",
18 "polyfills": "src/main/webapp/polyfills.ts",
19 "assets": [
20 "src/main/webapp/data",
21 "src/main/webapp/app/fw/layer/loading.service.css"
22 ],
23 "styles": [
24 "src/main/webapp/app/onos.css"
25 ],
26 "scripts": []
27 },
28 "configurations": {
29 "production": {
30 "optimization": true,
31 "outputHashing": "all",
32 "sourceMap": false,
33 "extractCss": true,
34 "namedChunks": false,
35 "aot": true,
36 "extractLicenses": true,
37 "vendorChunk": false,
38 "buildOptimizer": true,
39 "fileReplacements": [
40 {
41 "replace": "src/main/webapp/environments/environment.ts",
42 "with": "src/main/webapp/environments/environment.prod.ts"
43 }
44 ]
45 }
46 }
47 },
48 "serve": {
49 "builder": "@angular-devkit/build-angular:dev-server",
50 "options": {
51 "browserTarget": "onos:build"
52 },
53 "configurations": {
54 "production": {
55 "browserTarget": "onos:build:production"
56 }
57 }
58 },
59 "extract-i18n": {
60 "builder": "@angular-devkit/build-angular:extract-i18n",
61 "options": {
62 "browserTarget": "onos:build"
63 }
64 },
65 "test": {
66 "builder": "@angular-devkit/build-angular:karma",
67 "options": {
68 "main": "src/main/webapp/tests/test.ts",
69 "karmaConfig": "./karma.conf.js",
70 "polyfills": "src/main/webapp/polyfills.ts",
71 "tsConfig": "src/main/webapp/tsconfig.spec.json",
72 "scripts": [],
73 "styles": [
74 "src/main/webapp/app/onos.css"
75 ],
76 "assets": [
77 "src/main/webapp/data",
78 "src/main/webapp/app/fw/layer/loading.service.css"
79 ]
80 }
81 },
82 "lint": {
83 "builder": "@angular-devkit/build-angular:tslint",
84 "options": {
85 "tsConfig": [
86 "src/main/webapp/tsconfig.app.json",
87 "src/main/webapp/tsconfig.spec.json"
88 ],
89 "exclude": [
90 "**/node_modules/**"
91 ]
92 }
93 }
94 }
95 },
96 "onos-e2e": {
97 "root": "",
98 "sourceRoot": "",
99 "projectType": "application",
100 "architect": {
101 "e2e": {
102 "builder": "@angular-devkit/build-angular:protractor",
103 "options": {
104 "protractorConfig": "./protractor.conf.js",
105 "devServerTarget": "onos:serve"
106 }
107 },
108 "lint": {
109 "builder": "@angular-devkit/build-angular:tslint",
110 "options": {
111 "tsConfig": [
112 "e2e/tsconfig.e2e.json"
113 ],
114 "exclude": [
115 "**/node_modules/**"
116 ]
117 }
118 }
119 }
120 }
121 },
122 "defaultProject": "onos",
123 "schematics": {
124 "@schematics/angular:component": {
125 "prefix": "onos",
126 "styleext": "css"
127 },
128 "@schematics/angular:directive": {
129 "prefix": "onos"
130 }
131 }
132}