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