blob: 7103c99de6e2bbe6bc59425530f952c5c200d363 [file] [log] [blame]
Sean Condona36f65c2019-05-20 08:21:41 +01001{
2 "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3 "version": 1,
4 "newProjectRoot": "projects",
5 "projects": {
Sean Condon6a6f9a02020-01-09 14:09:36 +00006 "${artifactId}-gui": {
7 "projectType": "application",
8 "schematics": {},
9 "root": "",
10 "sourceRoot": "src",
11 "prefix": "app",
Sean Condona36f65c2019-05-20 08:21:41 +010012 "architect": {
13 "build": {
Sean Condon6a6f9a02020-01-09 14:09:36 +000014 "builder": "@angular-devkit/build-angular:browser",
Sean Condona36f65c2019-05-20 08:21:41 +010015 "options": {
Sean Condon6a6f9a02020-01-09 14:09:36 +000016 "outputPath": "dist/${artifactId}-gui",
17 "index": "src/index.html",
18 "main": "src/main.ts",
19 "polyfills": "src/polyfills.ts",
20 "tsConfig": "tsconfig.app.json",
21 "aot": true,
22 "assets": [
23 "src/favicon.ico",
24 "src/assets"
25 ],
26 "styles": [
27 "src/styles.css"
28 ],
29 "scripts": []
30 },
31 "configurations": {
32 "production": {
33 "fileReplacements": [
34 {
35 "replace": "src/environments/environment.ts",
36 "with": "src/environments/environment.prod.ts"
37 }
38 ],
39 "optimization": true,
40 "outputHashing": "all",
41 "sourceMap": false,
42 "extractCss": true,
43 "namedChunks": false,
44 "extractLicenses": true,
45 "vendorChunk": false,
46 "buildOptimizer": true,
47 "budgets": [
48 {
49 "type": "initial",
50 "maximumWarning": "2mb",
51 "maximumError": "5mb"
52 },
53 {
54 "type": "anyComponentStyle",
55 "maximumWarning": "6kb",
56 "maximumError": "10kb"
57 }
58 ]
59 }
60 }
61 },
62 "serve": {
63 "builder": "@angular-devkit/build-angular:dev-server",
64 "options": {
65 "browserTarget": "${artifactId}-gui:build"
66 },
67 "configurations": {
68 "production": {
69 "browserTarget": "${artifactId}-gui:build:production"
70 }
71 }
72 },
73 "extract-i18n": {
74 "builder": "@angular-devkit/build-angular:extract-i18n",
75 "options": {
76 "browserTarget": "${artifactId}-gui:build"
Sean Condona36f65c2019-05-20 08:21:41 +010077 }
78 },
79 "test": {
80 "builder": "@angular-devkit/build-angular:karma",
81 "options": {
Sean Condon6a6f9a02020-01-09 14:09:36 +000082 "main": "src/test.ts",
83 "polyfills": "src/polyfills.ts",
84 "tsConfig": "tsconfig.spec.json",
85 "karmaConfig": "karma.conf.js",
86 "assets": [
87 "src/favicon.ico",
88 "src/assets"
89 ],
90 "styles": [
91 "src/styles.css"
92 ],
93 "scripts": []
Sean Condona36f65c2019-05-20 08:21:41 +010094 }
95 },
96 "lint": {
97 "builder": "@angular-devkit/build-angular:tslint",
98 "options": {
99 "tsConfig": [
Sean Condon6a6f9a02020-01-09 14:09:36 +0000100 "tsconfig.app.json",
101 "tsconfig.spec.json",
102 "e2e/tsconfig.json"
Sean Condona36f65c2019-05-20 08:21:41 +0100103 ],
104 "exclude": [
105 "**/node_modules/**"
106 ]
107 }
Sean Condon6a6f9a02020-01-09 14:09:36 +0000108 },
109 "e2e": {
110 "builder": "@angular-devkit/build-angular:protractor",
111 "options": {
112 "protractorConfig": "e2e/protractor.conf.js",
113 "devServerTarget": "${artifactId}-gui:serve"
114 },
115 "configurations": {
116 "production": {
117 "devServerTarget": "${artifactId}-gui:serve:production"
118 }
119 }
Sean Condona36f65c2019-05-20 08:21:41 +0100120 }
121 }
Sean Condon6a6f9a02020-01-09 14:09:36 +0000122 }},
123 "defaultProject": "${artifactId}-gui"
124}