blob: 871103c0618aa49edc2851bb01f73d6dc7b242af [file] [log] [blame]
Sean Condon5ca00262018-09-06 17:55:25 +01001{
Sean Condondfc6dba2019-11-09 11:50:23 +00002 "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3 "version": 1,
4 "newProjectRoot": "projects",
5 "projects": {
6 "gui2-fw-lib-app": {
7 "root": "",
8 "sourceRoot": "src",
9 "projectType": "application",
10 "prefix": "app",
11 "schematics": {},
12 "architect": {
13 "build": {
14 "builder": "@angular-devkit/build-angular:browser",
15 "options": {
16 "outputPath": "dist/gui2-fw-lib-app",
17 "index": "src/index.html",
18 "main": "src/main.ts",
19 "polyfills": "src/polyfills.ts",
20 "tsConfig": "src/tsconfig.app.json",
21 "assets": [
22 "src/favicon.ico",
23 "src/assets"
24 ],
25 "styles": [
26 "src/styles.css"
27 ],
28 "scripts": []
29 },
30 "configurations": {
31 "production": {
32 "fileReplacements": [
33 {
34 "replace": "src/environments/environment.ts",
35 "with": "src/environments/environment.prod.ts"
36 }
37 ],
38 "optimization": true,
39 "outputHashing": "all",
40 "sourceMap": false,
41 "extractCss": true,
42 "namedChunks": false,
43 "aot": true,
44 "extractLicenses": true,
45 "vendorChunk": false,
46 "buildOptimizer": true
47 }
48 }
49 },
50 "serve": {
51 "builder": "@angular-devkit/build-angular:dev-server",
52 "options": {
53 "browserTarget": "gui2-fw-lib-app:build"
54 },
55 "configurations": {
56 "production": {
57 "browserTarget": "gui2-fw-lib-app:build:production"
58 }
59 }
60 },
61 "extract-i18n": {
62 "builder": "@angular-devkit/build-angular:extract-i18n",
63 "options": {
64 "browserTarget": "gui2-fw-lib-app:build"
65 }
66 },
67 "test": {
68 "builder": "@angular/bazel:build",
69 "options": {
70 "bazelCommand": "test",
71 "targetLabel": "//src:test",
72 "main": "src/test.ts",
73 "polyfills": "src/polyfills.ts",
74 "tsConfig": "src/tsconfig.spec.json",
75 "karmaConfig": "src/karma.conf.js",
76 "styles": [
77 "styles.css"
78 ],
79 "scripts": [],
80 "assets": [
81 "src/favicon.ico",
82 "src/assets"
83 ]
84 }
85 },
86 "lint": {
87 "builder": "@angular-devkit/build-angular:tslint",
88 "options": {
89 "tsConfig": [
90 "src/tsconfig.app.json",
91 "src/tsconfig.spec.json"
92 ],
93 "exclude": [
94 "**/node_modules/**"
95 ]
96 }
Sean Condon5ca00262018-09-06 17:55:25 +010097 }
Sean Condon5ca00262018-09-06 17:55:25 +010098 }
Sean Condon5ca00262018-09-06 17:55:25 +010099 },
Sean Condondfc6dba2019-11-09 11:50:23 +0000100 "gui2-fw-lib-app-e2e": {
101 "root": "e2e/",
102 "projectType": "application",
103 "architect": {
104 "e2e": {
105 "builder": "@angular-devkit/build-angular:protractor",
106 "options": {
107 "protractorConfig": "e2e/protractor.conf.js",
108 "devServerTarget": "gui2-fw-lib-app:serve"
109 }
110 },
111 "lint": {
112 "builder": "@angular-devkit/build-angular:tslint",
113 "options": {
114 "tsConfig": "e2e/tsconfig.e2e.json",
115 "exclude": [
116 "**/node_modules/**"
117 ]
118 }
119 }
Sean Condon5ca00262018-09-06 17:55:25 +0100120 }
Sean Condon5ca00262018-09-06 17:55:25 +0100121 },
Sean Condondfc6dba2019-11-09 11:50:23 +0000122 "gui2-fw-lib": {
123 "root": "projects/gui2-fw-lib",
124 "sourceRoot": "projects/gui2-fw-lib/src",
125 "projectType": "library",
126 "prefix": "onos",
127 "architect": {
128 "build": {
129 "builder": "@angular-devkit/build-ng-packagr:build",
130 "options": {
131 "tsConfig": "projects/gui2-fw-lib/tsconfig.lib.json",
132 "project": "projects/gui2-fw-lib/ng-package.json"
133 },
134 "configurations": {
135 "production": {
136 "project": "projects/gui2-fw-lib/ng-package.prod.json"
137 }
138 }
139 },
140 "test": {
141 "builder": "@angular-devkit/build-angular:karma",
142 "options": {
143 "main": "projects/gui2-fw-lib/src/test.ts",
144 "tsConfig": "projects/gui2-fw-lib/tsconfig.spec.json",
145 "karmaConfig": "projects/gui2-fw-lib/karma.conf.js"
146 }
147 },
148 "lint": {
149 "builder": "@angular-devkit/build-angular:tslint",
150 "options": {
151 "tsConfig": [
152 "projects/gui2-fw-lib/tsconfig.lib.json",
153 "projects/gui2-fw-lib/tsconfig.spec.json"
154 ],
155 "exclude": [
156 "**/node_modules/**"
157 ]
158 }
159 }
160 }
Sean Condon5ca00262018-09-06 17:55:25 +0100161 }
Sean Condon5ca00262018-09-06 17:55:25 +0100162 },
Sean Condondfc6dba2019-11-09 11:50:23 +0000163 "defaultProject": "gui2-fw-lib-app"
Sean Condon95fb5742019-04-02 12:16:55 +0100164}