|
26 | 26 | "options": { |
27 | 27 | "main": "projects/bespunky/angular-google-maps/test.ts", |
28 | 28 | "tsConfig": "projects/bespunky/angular-google-maps/tsconfig.spec.json", |
29 | | - "karmaConfig": "projects/bespunky/angular-google-maps/karma.conf.js" |
| 29 | + "karmaConfig": "projects/bespunky/angular-google-maps/karma.conf.js", |
| 30 | + "scripts": ["projects/bespunky/angular-google-maps/testing/google-maps-api.js"] |
30 | 31 | } |
31 | 32 | }, |
32 | 33 | "lint": { |
|
186 | 187 | } |
187 | 188 | } |
188 | 189 | } |
| 190 | + }, |
| 191 | + "demo": { |
| 192 | + "projectType": "application", |
| 193 | + "schematics": { |
| 194 | + "@schematics/angular:component": { |
| 195 | + "inlineTemplate": true, |
| 196 | + "inlineStyle": true, |
| 197 | + "skipTests": true |
| 198 | + }, |
| 199 | + "@schematics/angular:class": { |
| 200 | + "skipTests": true |
| 201 | + }, |
| 202 | + "@schematics/angular:directive": { |
| 203 | + "skipTests": true |
| 204 | + }, |
| 205 | + "@schematics/angular:guard": { |
| 206 | + "skipTests": true |
| 207 | + }, |
| 208 | + "@schematics/angular:interceptor": { |
| 209 | + "skipTests": true |
| 210 | + }, |
| 211 | + "@schematics/angular:module": { |
| 212 | + "skipTests": true |
| 213 | + }, |
| 214 | + "@schematics/angular:pipe": { |
| 215 | + "skipTests": true |
| 216 | + }, |
| 217 | + "@schematics/angular:service": { |
| 218 | + "skipTests": true |
| 219 | + } |
| 220 | + }, |
| 221 | + "root": "projects/demo", |
| 222 | + "sourceRoot": "projects/demo/src", |
| 223 | + "prefix": "app", |
| 224 | + "architect": { |
| 225 | + "build": { |
| 226 | + "builder": "@angular-devkit/build-angular:browser", |
| 227 | + "options": { |
| 228 | + "outputPath": "dist/demo", |
| 229 | + "index": "projects/demo/src/index.html", |
| 230 | + "main": "projects/demo/src/main.ts", |
| 231 | + "polyfills": "projects/demo/src/polyfills.ts", |
| 232 | + "tsConfig": "projects/demo/tsconfig.app.json", |
| 233 | + "aot": true, |
| 234 | + "assets": [ |
| 235 | + "projects/demo/src/favicon.ico", |
| 236 | + "projects/demo/src/assets" |
| 237 | + ], |
| 238 | + "styles": [ |
| 239 | + "projects/demo/src/styles.css" |
| 240 | + ], |
| 241 | + "scripts": [] |
| 242 | + }, |
| 243 | + "configurations": { |
| 244 | + "production": { |
| 245 | + "fileReplacements": [ |
| 246 | + { |
| 247 | + "replace": "projects/demo/src/environments/environment.ts", |
| 248 | + "with": "projects/demo/src/environments/environment.prod.ts" |
| 249 | + } |
| 250 | + ], |
| 251 | + "optimization": true, |
| 252 | + "outputHashing": "all", |
| 253 | + "sourceMap": false, |
| 254 | + "namedChunks": false, |
| 255 | + "extractLicenses": true, |
| 256 | + "vendorChunk": false, |
| 257 | + "buildOptimizer": true, |
| 258 | + "budgets": [ |
| 259 | + { |
| 260 | + "type": "initial", |
| 261 | + "maximumWarning": "2mb", |
| 262 | + "maximumError": "5mb" |
| 263 | + }, |
| 264 | + { |
| 265 | + "type": "anyComponentStyle", |
| 266 | + "maximumWarning": "6kb", |
| 267 | + "maximumError": "10kb" |
| 268 | + } |
| 269 | + ] |
| 270 | + } |
| 271 | + } |
| 272 | + }, |
| 273 | + "serve": { |
| 274 | + "builder": "@angular-devkit/build-angular:dev-server", |
| 275 | + "options": { |
| 276 | + "browserTarget": "demo:build" |
| 277 | + }, |
| 278 | + "configurations": { |
| 279 | + "production": { |
| 280 | + "browserTarget": "demo:build:production" |
| 281 | + } |
| 282 | + } |
| 283 | + }, |
| 284 | + "extract-i18n": { |
| 285 | + "builder": "@angular-devkit/build-angular:extract-i18n", |
| 286 | + "options": { |
| 287 | + "browserTarget": "demo:build" |
| 288 | + } |
| 289 | + } |
| 290 | + } |
189 | 291 | } |
190 | 292 | }, |
191 | 293 | "defaultProject": "@bespunky/angular-google-maps" |
|
0 commit comments