source: src/mapservice-webclient/angular.json@ 85edaaa

debian/bullseye
Last change on this file since 85edaaa was 8f1d0b7, checked in by Joachim Langenbach <joachim.langenbach@…>, 6 years ago

Upgraded to angular 11 and switched from webpack to angular cli build (which uses webpack internaly)

  • Property mode set to 100644
File size: 4.5 KB
Line 
1{
2 "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3 "version": 1,
4 "newProjectRoot": "projects",
5 "projects": {
6 "webclient": {
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 "aot": true,
17 "outputPath": "dist/webclient",
18 "index": "src/index.html",
19 "main": "src/main.ts",
20 "polyfills": "src/polyfills.ts",
21 "tsConfig": "src/tsconfig.app.json",
22 "assets": [
23 { "glob": "*", "input": "src-gen/common/resources", "output": "./resources" },
24 { "glob": "*", "input": "src-gen/common/icon", "output": "./resources" },
25 { "glob": "*", "input": "src-gen/common/lib/js/jquery-ui/images", "output": "./resources" },
26 "src/favicon.ico",
27 "src/assets"
28 ],
29 "styles": [
30 "src/styles.css"
31 ],
32 "scripts": [
33 { "input": "src-gen/common/lib/js/leaflet.js", "inject": false, "bundleName": "leaflet" },
34 { "input": "src-gen/common/lib/js/jquery-3.2.1.min.js", "inject": false, "bundleName": "jquery" },
35 { "input": "src-gen/common/lib/js/jquery-ui/jquery-ui.min.js", "inject": false, "bundleName": "jquery-ui" },
36 { "input": "src-gen/common/js/GnuBoat.js", "inject": false, "bundleName": "gnuboat" },
37 ]
38 },
39 "configurations": {
40 "production": {
41 "fileReplacements": [
42 {
43 "replace": "src/environments/environment.ts",
44 "with": "src/environments/environment.prod.ts"
45 }
46 ],
47 "optimization": true,
48 "outputHashing": "all",
49 "sourceMap": false,
50 "namedChunks": false,
51 "aot": true,
52 "extractLicenses": true,
53 "vendorChunk": false,
54 "buildOptimizer": true,
55 "budgets": [
56 {
57 "type": "initial",
58 "maximumWarning": "2mb",
59 "maximumError": "5mb"
60 },
61 {
62 "type": "anyComponentStyle",
63 "maximumWarning": "6kb"
64 }
65 ]
66 }
67 }
68 },
69 "serve": {
70 "builder": "@angular-devkit/build-angular:dev-server",
71 "options": {
72 "browserTarget": "webclient:build"
73 },
74 "configurations": {
75 "production": {
76 "browserTarget": "webclient:build:production"
77 }
78 }
79 },
80 "extract-i18n": {
81 "builder": "@angular-devkit/build-angular:extract-i18n",
82 "options": {
83 "browserTarget": "webclient:build"
84 }
85 },
86 "test": {
87 "builder": "@angular-devkit/build-angular:karma",
88 "options": {
89 "main": "src/test.ts",
90 "polyfills": "src/polyfills.ts",
91 "tsConfig": "src/tsconfig.spec.json",
92 "karmaConfig": "src/karma.conf.js",
93 "styles": [
94 "src/styles.css"
95 ],
96 "scripts": [],
97 "assets": [
98 "src/favicon.ico",
99 "src/assets"
100 ]
101 }
102 },
103 "lint": {
104 "builder": "@angular-devkit/build-angular:tslint",
105 "options": {
106 "tsConfig": [
107 "src/tsconfig.app.json",
108 "src/tsconfig.spec.json"
109 ],
110 "exclude": [
111 "**/node_modules/**"
112 ]
113 }
114 }
115 }
116 },
117 "webclient-e2e": {
118 "root": "e2e/",
119 "projectType": "application",
120 "prefix": "",
121 "architect": {
122 "e2e": {
123 "builder": "@angular-devkit/build-angular:protractor",
124 "options": {
125 "protractorConfig": "e2e/protractor.conf.js",
126 "devServerTarget": "webclient:serve"
127 },
128 "configurations": {
129 "production": {
130 "devServerTarget": "webclient:serve:production"
131 }
132 }
133 },
134 "lint": {
135 "builder": "@angular-devkit/build-angular:tslint",
136 "options": {
137 "tsConfig": "e2e/tsconfig.e2e.json",
138 "exclude": [
139 "**/node_modules/**"
140 ]
141 }
142 }
143 }
144 }
145 },
146 "defaultProject": "webclient"
147}
Note: See TracBrowser for help on using the repository browser.