generated from B3Partners/tailormap-starter
/
angular.json
195 lines (195 loc) · 5.79 KB
/
angular.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"cli": {
"schematicCollections": [
"@tailormap-viewer/schematics"
],
"analytics": false
},
"projects": {
"app": {
"projectType": "application",
"schematics": {
"@schematics/angular:application": {
"strict": true
}
},
"root": "projects/app",
"sourceRoot": "projects/app/src",
"prefix": "app",
"i18n": {
"sourceLocale": "en",
"locales": {
"nl": {
"translation": [
"node_modules/@tailormap-viewer/core/assets/locale/messages.core.nl.xlf",
"node_modules/@tailormap-viewer/shared/assets/locale/messages.shared.nl.xlf",
"node_modules/@tailormap-admin/admin-core/assets/locale/messages.admin-core.nl.xlf"
]
}
}
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser-esbuild",
"options": {
"outputPath": "dist/app",
"index": "projects/app/src/index.html",
"main": "projects/app/src/main.ts",
"polyfills": ["projects/app/src/polyfills.ts"],
"tsConfig": "projects/app/tsconfig.app.json",
"assets": [
{
"glob": "**/*",
"input": "assets",
"output": "."
},
{ "glob": "version.json", "input": "generated", "output": "." },
{
"glob": "**/*",
"input": "node_modules/@tailormap-viewer/core/assets/icons",
"output": "icons"
},
{
"glob": "**/*",
"input": "node_modules/@tailormap-admin/admin-core/assets/icons",
"output": "icons"
}
],
"styles": [
"node_modules/@tailormap-viewer/core/assets/custom-theme.scss",
"node_modules/@tailormap-viewer/core/assets/tailormap-styles.css"
],
"scripts": [],
"allowedCommonJsDependencies": [
"xml-utils",
"pbf",
"html2canvas",
"core-js",
"raf",
"rgbcolor",
"lru-cache",
"web-worker",
"dompurify",
"rbush",
"cssesc",
"font-family-papandreou",
"earcut",
"svgpath",
"lerc",
"color-name"
],
"i18nMissingTranslation": "error"
},
"configurations": {
"nl": {
"localize": ["nl"]
},
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "3.5mb",
"maximumError": "4mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "4kb",
"maximumError": "6kb"
}
],
"fileReplacements": [
{
"replace": "projects/app/src/environments/environment.ts",
"with": "projects/app/src/environments/environment.prod.ts"
}
],
"outputHashing": "all",
"sourceMap": {
"styles": false,
"scripts": true,
"vendor": true,
"hidden": false
}
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"buildTarget": "app:build:production"
},
"development": {
"buildTarget": "app:build:development"
},
"nl": {
"buildTarget": "app:build:development,nl"
}
},
"options": {
"proxyConfig": "proxy.config.js"
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "ng-extract-i18n-merge:ng-extract-i18n-merge",
"configurations": {},
"options": {
"browserTarget": "app:build",
"format": "xlf",
"outputPath": "locale",
"sourceFile": "messages.en.xlf",
"verbose": false,
"resetTranslationState": false,
"sort": "idAsc",
"targetFiles": [
"messages.nl.xlf"
]
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"projects/app/**/*.ts",
"projects/app/**/*.html"
]
}
}
}
},
"hello-world": {
"projectType": "library",
"root": "projects/hello-world",
"sourceRoot": "projects/hello-world/src",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "projects/hello-world/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/hello-world/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "projects/hello-world/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
}
}
}
}
}