|
39 | 39 | "projects/auto-complete/**/*.html"
|
40 | 40 | ]
|
41 | 41 | }
|
| 42 | + }, |
| 43 | + "ct": { |
| 44 | + "builder": "@cypress/schematic:cypress", |
| 45 | + "options": { |
| 46 | + "devServerTarget": "auto-complete:serve", |
| 47 | + "watch": true, |
| 48 | + "headless": false, |
| 49 | + "testingType": "component" |
| 50 | + }, |
| 51 | + "configurations": { |
| 52 | + "development": { |
| 53 | + "devServerTarget": "auto-complete:serve:development" |
| 54 | + } |
| 55 | + } |
42 | 56 | }
|
43 | 57 | }
|
44 | 58 | },
|
|
154 | 168 | ]
|
155 | 169 | }
|
156 | 170 | },
|
157 |
| - "e2e": { |
158 |
| - "builder": "@angular-devkit/build-angular:protractor", |
| 171 | + "cypress-run": { |
| 172 | + "builder": "@cypress/schematic:cypress", |
159 | 173 | "options": {
|
160 |
| - "protractorConfig": "projects/demo/e2e/protractor.conf.js" |
| 174 | + "devServerTarget": "demo:serve", |
| 175 | + "configFile": "projects/demo/cypress.config.ts" |
161 | 176 | },
|
162 | 177 | "configurations": {
|
163 | 178 | "production": {
|
164 | 179 | "devServerTarget": "demo:serve:production"
|
165 |
| - }, |
166 |
| - "development": { |
167 |
| - "devServerTarget": "demo:serve:development" |
168 | 180 | }
|
| 181 | + } |
| 182 | + }, |
| 183 | + "cypress-open": { |
| 184 | + "builder": "@cypress/schematic:cypress", |
| 185 | + "options": { |
| 186 | + "watch": true, |
| 187 | + "headless": false, |
| 188 | + "configFile": "projects/demo/cypress.config.ts" |
| 189 | + } |
| 190 | + }, |
| 191 | + "e2e": { |
| 192 | + "builder": "@cypress/schematic:cypress", |
| 193 | + "options": { |
| 194 | + "devServerTarget": "demo:serve", |
| 195 | + "watch": true, |
| 196 | + "headless": false |
169 | 197 | },
|
170 |
| - "defaultConfiguration": "development" |
| 198 | + "configurations": { |
| 199 | + "production": { |
| 200 | + "devServerTarget": "demo:serve:production" |
| 201 | + } |
| 202 | + } |
171 | 203 | }
|
172 | 204 | }
|
173 | 205 | }
|
174 | 206 | },
|
175 | 207 | "cli": {
|
176 | 208 | "schematicCollections": [
|
177 |
| - "@angular-eslint/schematics" |
| 209 | + "@cypress/schematic", |
| 210 | + "@angular-eslint/schematics", |
| 211 | + "@schematics/angular" |
178 | 212 | ],
|
179 | 213 | "analytics": false
|
180 | 214 | }
|
|
0 commit comments