blob: 8341e919ae0a09e6610619c2d20a6d02495564f1 [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 ],
Sean Condonfd6d11b2018-06-02 20:29:49 +010023 "styles": ["src/main/webapp/onos.theme.css"],
Sean Condon83fc39f2018-04-19 18:56:13 +010024 "scripts": []
25 },
26 "configurations": {
27 "production": {
28 "optimization": true,
29 "outputHashing": "all",
30 "sourceMap": false,
31 "extractCss": true,
32 "namedChunks": false,
33 "aot": true,
34 "extractLicenses": true,
35 "vendorChunk": false,
36 "buildOptimizer": true,
37 "fileReplacements": [
38 {
39 "replace": "src/main/webapp/environments/environment.ts",
40 "with": "src/main/webapp/environments/environment.prod.ts"
41 }
42 ]
43 }
44 }
45 },
46 "serve": {
47 "builder": "@angular-devkit/build-angular:dev-server",
48 "options": {
49 "browserTarget": "onos:build"
50 },
51 "configurations": {
52 "production": {
53 "browserTarget": "onos:build:production"
54 }
55 }
56 },
57 "extract-i18n": {
58 "builder": "@angular-devkit/build-angular:extract-i18n",
59 "options": {
60 "browserTarget": "onos:build"
61 }
62 },
63 "test": {
64 "builder": "@angular-devkit/build-angular:karma",
65 "options": {
66 "main": "src/main/webapp/tests/test.ts",
67 "karmaConfig": "./karma.conf.js",
68 "polyfills": "src/main/webapp/polyfills.ts",
69 "tsConfig": "src/main/webapp/tsconfig.spec.json",
70 "scripts": [],
71 "styles": [
Sean Condonfd6d11b2018-06-02 20:29:49 +010072 "src/main/webapp/app/onos.theme.css"
Sean Condon83fc39f2018-04-19 18:56:13 +010073 ],
74 "assets": [
75 "src/main/webapp/data",
76 "src/main/webapp/app/fw/layer/loading.service.css"
77 ]
78 }
79 },
80 "lint": {
81 "builder": "@angular-devkit/build-angular:tslint",
82 "options": {
83 "tsConfig": [
84 "src/main/webapp/tsconfig.app.json",
85 "src/main/webapp/tsconfig.spec.json"
86 ],
87 "exclude": [
88 "**/node_modules/**"
89 ]
90 }
91 }
92 }
93 },
94 "onos-e2e": {
95 "root": "",
96 "sourceRoot": "",
97 "projectType": "application",
98 "architect": {
99 "e2e": {
100 "builder": "@angular-devkit/build-angular:protractor",
101 "options": {
102 "protractorConfig": "./protractor.conf.js",
103 "devServerTarget": "onos:serve"
104 }
105 },
106 "lint": {
107 "builder": "@angular-devkit/build-angular:tslint",
108 "options": {
109 "tsConfig": [
110 "e2e/tsconfig.e2e.json"
111 ],
112 "exclude": [
113 "**/node_modules/**"
114 ]
115 }
116 }
117 }
118 }
119 },
120 "defaultProject": "onos",
121 "schematics": {
122 "@schematics/angular:component": {
123 "prefix": "onos",
124 "styleext": "css"
125 },
126 "@schematics/angular:directive": {
127 "prefix": "onos"
128 }
129 }
130}