|
11 | 11 | "prefix": "app", |
12 | 12 | "architect": { |
13 | 13 | "build": { |
14 | | - "builder": "@angular-devkit/build-angular:browser", |
| 14 | + "builder": "@angular/build:application", |
15 | 15 | "options": { |
16 | | - "outputPath": "dist/demo", |
| 16 | + "outputPath": { |
| 17 | + "base": "dist/demo" |
| 18 | + }, |
17 | 19 | "index": "demo/index.html", |
18 | | - "main": "demo/main.ts", |
19 | 20 | "polyfills": [ |
20 | 21 | "zone.js" |
21 | 22 | ], |
|
33 | 34 | } |
34 | 35 | ], |
35 | 36 | "styles": [ |
| 37 | + "@angular/material/prebuilt-themes/deeppurple-amber.css", |
36 | 38 | "demo/styles.css" |
37 | 39 | ], |
38 | | - "scripts": [] |
| 40 | + "scripts": [], |
| 41 | + "browser": "demo/main.ts" |
39 | 42 | }, |
40 | 43 | "configurations": { |
41 | 44 | "production": { |
42 | 45 | "outputHashing": "all" |
43 | 46 | }, |
44 | 47 | "development": { |
45 | | - "buildOptimizer": false, |
46 | 48 | "optimization": false, |
47 | | - "vendorChunk": true, |
48 | 49 | "extractLicenses": false, |
49 | 50 | "sourceMap": true, |
50 | 51 | "namedChunks": true |
|
53 | 54 | "defaultConfiguration": "production" |
54 | 55 | }, |
55 | 56 | "serve": { |
56 | | - "builder": "@angular-devkit/build-angular:dev-server", |
| 57 | + "builder": "@angular/build:dev-server", |
57 | 58 | "configurations": { |
58 | 59 | "production": { |
59 | | - "browserTarget": "ngx-timeago-demo:build:production" |
| 60 | + "buildTarget": "ngx-timeago-demo:build:production" |
60 | 61 | }, |
61 | 62 | "development": { |
62 | | - "browserTarget": "ngx-timeago-demo:build:development" |
| 63 | + "buildTarget": "ngx-timeago-demo:build:development" |
63 | 64 | } |
64 | 65 | }, |
65 | 66 | "defaultConfiguration": "development" |
66 | 67 | }, |
67 | 68 | "extract-i18n": { |
68 | | - "builder": "@angular-devkit/build-angular:extract-i18n", |
| 69 | + "builder": "@angular/build:extract-i18n", |
69 | 70 | "options": { |
70 | | - "browserTarget": "ngx-timeago-demo:build" |
| 71 | + "buildTarget": "ngx-timeago-demo:build" |
71 | 72 | } |
72 | 73 | } |
73 | 74 | } |
|
79 | 80 | "prefix": "lib", |
80 | 81 | "architect": { |
81 | 82 | "build": { |
82 | | - "builder": "@angular-devkit/build-angular:ng-packagr", |
| 83 | + "builder": "@angular/build:ng-packagr", |
83 | 84 | "options": { |
84 | 85 | "project": "lib/ng-package.json" |
85 | 86 | }, |
|
94 | 95 | "defaultConfiguration": "production" |
95 | 96 | }, |
96 | 97 | "test": { |
97 | | - "builder": "@angular-devkit/build-angular:karma", |
| 98 | + "builder": "@angular/build:karma", |
98 | 99 | "options": { |
99 | 100 | "tsConfig": "lib/tsconfig.spec.json", |
100 | 101 | "polyfills": [ |
|
108 | 109 | }, |
109 | 110 | "cli": { |
110 | 111 | "analytics": false |
| 112 | + }, |
| 113 | + "schematics": { |
| 114 | + "@schematics/angular:component": { |
| 115 | + "type": "component" |
| 116 | + }, |
| 117 | + "@schematics/angular:directive": { |
| 118 | + "type": "directive" |
| 119 | + }, |
| 120 | + "@schematics/angular:service": { |
| 121 | + "type": "service" |
| 122 | + }, |
| 123 | + "@schematics/angular:guard": { |
| 124 | + "typeSeparator": "." |
| 125 | + }, |
| 126 | + "@schematics/angular:interceptor": { |
| 127 | + "typeSeparator": "." |
| 128 | + }, |
| 129 | + "@schematics/angular:module": { |
| 130 | + "typeSeparator": "." |
| 131 | + }, |
| 132 | + "@schematics/angular:pipe": { |
| 133 | + "typeSeparator": "." |
| 134 | + }, |
| 135 | + "@schematics/angular:resolver": { |
| 136 | + "typeSeparator": "." |
| 137 | + } |
111 | 138 | } |
112 | 139 | } |
0 commit comments