|
3 | 3 | "version": 1, |
4 | 4 | "newProjectRoot": "projects", |
5 | 5 | "projects": { |
6 | | - "coreui": { |
| 6 | + "coreui-demo": { |
7 | 7 | "projectType": "application", |
8 | 8 | "schematics": { |
9 | 9 | "@schematics/angular:component": { |
|
20 | 20 | "build": { |
21 | 21 | "builder": "@angular-devkit/build-angular:browser", |
22 | 22 | "options": { |
23 | | - "outputPath": "dist/coreui/demo", |
| 23 | + "outputPath": "dist/coreui-demo", |
24 | 24 | "index": "src/index.html", |
25 | 25 | "main": "src/main.ts", |
26 | | - "polyfills": "src/polyfills.ts", |
| 26 | + "polyfills": [ |
| 27 | + "@angular/localize/init", |
| 28 | + "zone.js", |
| 29 | + "zone.js/testing" |
| 30 | + ], |
27 | 31 | "tsConfig": "src/tsconfig.app.json", |
28 | 32 | "inlineStyleLanguage": "scss", |
29 | 33 | "assets": [ |
|
73 | 77 | "builder": "@angular-devkit/build-angular:dev-server", |
74 | 78 | "configurations": { |
75 | 79 | "production": { |
76 | | - "buildTarget": "coreui:build:production" |
| 80 | + "buildTarget": "coreui-demo:build:production" |
77 | 81 | }, |
78 | 82 | "development": { |
79 | | - "buildTarget": "coreui:build:development" |
| 83 | + "buildTarget": "coreui-demo:build:development" |
80 | 84 | } |
81 | 85 | }, |
82 | 86 | "defaultConfiguration": "development" |
83 | 87 | }, |
84 | 88 | "extract-i18n": { |
85 | 89 | "builder": "@angular-devkit/build-angular:extract-i18n", |
86 | 90 | "options": { |
87 | | - "buildTarget": "coreui:build" |
| 91 | + "buildTarget": "coreui-demo:build" |
88 | 92 | } |
89 | 93 | }, |
90 | 94 | "test": { |
91 | 95 | "builder": "@angular-devkit/build-angular:karma", |
92 | 96 | "options": { |
93 | 97 | "main": "src/test.ts", |
94 | | - "polyfills": "src/polyfills.ts", |
| 98 | + "polyfills": [ |
| 99 | + "@angular/localize/init", |
| 100 | + "zone.js", |
| 101 | + "zone.js/testing" |
| 102 | + ], |
95 | 103 | "tsConfig": "src/tsconfig.spec.json", |
96 | 104 | "karmaConfig": "src/karma.conf.js", |
97 | 105 | "inlineStyleLanguage": "scss", |
|
108 | 116 | "cypress-run": { |
109 | 117 | "builder": "@cypress/schematic:cypress", |
110 | 118 | "options": { |
111 | | - "devServerTarget": "coreui:serve" |
| 119 | + "devServerTarget": "coreui-demo:serve" |
112 | 120 | }, |
113 | 121 | "configurations": { |
114 | 122 | "production": { |
115 | | - "devServerTarget": "coreui:serve:production" |
| 123 | + "devServerTarget": "coreui-demo:serve:production" |
116 | 124 | } |
117 | 125 | } |
118 | 126 | }, |
|
126 | 134 | "e2e": { |
127 | 135 | "builder": "@cypress/schematic:cypress", |
128 | 136 | "options": { |
129 | | - "devServerTarget": "coreui:serve", |
| 137 | + "devServerTarget": "coreui-demo:serve", |
130 | 138 | "watch": false, |
131 | 139 | "headless": true |
132 | 140 | }, |
133 | 141 | "configurations": { |
134 | 142 | "production": { |
135 | | - "devServerTarget": "coreui:serve:production" |
| 143 | + "devServerTarget": "coreui-demo:serve:production" |
136 | 144 | } |
137 | 145 | } |
138 | 146 | } |
|
0 commit comments