|
18 | 18 | "prefix": "app", |
19 | 19 | "architect": { |
20 | 20 | "build": { |
21 | | - "builder": "@angular-devkit/build-angular:application", |
| 21 | + "builder": "@angular/build:application", |
22 | 22 | "options": { |
23 | 23 | "outputPath": "dist", |
24 | 24 | "index": "src/index.html", |
25 | 25 | "browser": "src/main.ts", |
26 | | - "polyfills": ["zone.js"], |
27 | 26 | "tsConfig": "tsconfig.app.json", |
28 | 27 | "assets": ["src/favicon.ico", "src/assets"], |
29 | 28 | "styles": ["src/styles.scss"], |
|
42 | 41 | "defaultConfiguration": "production" |
43 | 42 | }, |
44 | 43 | "serve": { |
45 | | - "builder": "@angular-devkit/build-angular:dev-server", |
| 44 | + "builder": "@angular/build:dev-server", |
46 | 45 | "options": { |
47 | 46 | "buildTarget": "ngx-toastr:build" |
48 | 47 | }, |
|
53 | 52 | } |
54 | 53 | }, |
55 | 54 | "extract-i18n": { |
56 | | - "builder": "@angular-devkit/build-angular:extract-i18n", |
| 55 | + "builder": "@angular/build:extract-i18n", |
57 | 56 | "options": { |
58 | 57 | "buildTarget": "ngx-toastr:build" |
59 | 58 | } |
60 | 59 | }, |
61 | 60 | "test": { |
62 | | - "builder": "@angular-devkit/build-angular:karma", |
| 61 | + "builder": "@angular/build:unit-test", |
63 | 62 | "options": { |
64 | | - "polyfills": ["zone.js", "zone.js/testing"], |
65 | 63 | "tsConfig": "tsconfig.spec.json", |
66 | | - "karmaConfig": "karma.conf.js", |
67 | | - "assets": ["src/favicon.ico", "src/assets"], |
68 | | - "styles": ["src/styles.scss"], |
69 | | - "scripts": [] |
| 64 | + "runner": "karma", |
| 65 | + "coverage": true, |
| 66 | + "ui": false |
70 | 67 | } |
71 | 68 | }, |
72 | 69 | "lint": { |
|
0 commit comments