-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
angular.json
192 lines (192 loc) · 5.96 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
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"ngx-maplibre-gl": {
"root": "projects/ngx-maplibre-gl",
"sourceRoot": "projects/ngx-maplibre-gl/src",
"projectType": "library",
"prefix": "mgl",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/ngx-maplibre-gl/tsconfig.lib.json",
"project": "projects/ngx-maplibre-gl/ng-package.json"
},
"configurations": {
"production": {
"project": "projects/ngx-maplibre-gl/ng-package.prod.json",
"tsConfig": "projects/ngx-maplibre-gl/tsconfig.lib.prod.json"
}
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/ngx-maplibre-gl/src/test.ts",
"tsConfig": "projects/ngx-maplibre-gl/tsconfig.spec.json",
"karmaConfig": "projects/ngx-maplibre-gl/karma.conf.js"
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"projects/ngx-maplibre-gl/**/*.ts",
"projects/ngx-maplibre-gl/**/*.html"
]
}
}
}
},
"showcase": {
"root": "projects/showcase/",
"sourceRoot": "projects/showcase/src",
"projectType": "application",
"prefix": "showcase",
"schematics": {},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:application",
"options": {
"allowedCommonJsDependencies": [
"@mapbox/mapbox-sdk",
"suggestions",
"maplibre-gl"
],
"aot": true,
"outputPath": "dist/showcase",
"index": "projects/showcase/src/index.html",
"browser": "projects/showcase/src/main.ts",
"polyfills": ["zone.js"],
"tsConfig": "projects/showcase/tsconfig.app.json",
"assets": [
"projects/showcase/src/favicon.ico",
"projects/showcase/src/assets",
"projects/showcase/src/app/demo/examples"
],
"styles": ["projects/showcase/src/styles.css"],
"scripts": [],
"server": "projects/showcase/src/main.server.ts",
"prerender": true,
"ssr": {
"entry": "projects/showcase/server.ts"
},
"loader": {
".svg": "text"
}
},
"configurations": {
"production": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [
{
"replace": "projects/showcase/src/environments/environment.ts",
"with": "projects/showcase/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": true,
"namedChunks": false,
"extractLicenses": true
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"buildTarget": "showcase:build"
},
"configurations": {
"production": {
"buildTarget": "showcase:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "showcase:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/showcase/src/test.ts",
"polyfills": "projects/showcase/src/polyfills.ts",
"tsConfig": "projects/showcase/tsconfig.spec.json",
"karmaConfig": "projects/showcase/karma.conf.js",
"styles": ["projects/showcase/src/styles.css"],
"scripts": [],
"assets": [
"projects/showcase/src/favicon.ico",
"projects/showcase/src/assets"
]
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"projects/showcase/**/*.ts",
"projects/showcase/**/*.html"
]
}
},
"cypress-run": {
"builder": "@cypress/schematic:cypress",
"options": {
"devServerTarget": "showcase:serve",
"configFile": "projects/showcase/cypress.config.ts"
},
"configurations": {
"production": {
"devServerTarget": "showcase:serve:production"
}
}
},
"cypress-open": {
"builder": "@cypress/schematic:cypress",
"options": {
"watch": true,
"headless": false,
"configFile": "projects/showcase/cypress.config.ts"
}
},
"e2e": {
"builder": "@cypress/schematic:cypress",
"options": {
"devServerTarget": "showcase:serve",
"watch": true,
"headless": false
},
"configurations": {
"production": {
"devServerTarget": "showcase:serve:production"
}
}
}
}
}
},
"cli": {
"analytics": "2b945751-c795-4db1-b8ac-172907057b11",
"schematicCollections": ["@angular-eslint/schematics"]
},
"schematics": {
"@angular-eslint/schematics:application": {
"setParserOptionsProject": true
},
"@angular-eslint/schematics:library": {
"setParserOptionsProject": true
}
}
}