|
144 | 144 | "lintFilePatterns": ["src/**/*.ts", "src/**/*.html"] |
145 | 145 | } |
146 | 146 | }, |
147 | | - "e2e": { |
148 | | - "builder": "@angular-devkit/build-angular:protractor", |
| 147 | + "cypress-run": { |
| 148 | + "builder": "@cypress/schematic:cypress", |
149 | 149 | "options": { |
150 | | - "protractorConfig": "e2e/protractor.conf.js" |
| 150 | + "devServerTarget": "app:serve" |
151 | 151 | }, |
152 | 152 | "configurations": { |
153 | 153 | "production": { |
154 | 154 | "devServerTarget": "app:serve:production" |
155 | | - }, |
156 | | - "ci": { |
157 | | - "devServerTarget": "app:serve:ci" |
158 | | - }, |
159 | | - "development": { |
160 | | - "devServerTarget": "app:serve:development" |
161 | 155 | } |
162 | | - }, |
163 | | - "defaultConfiguration": "development" |
| 156 | + } |
164 | 157 | }, |
165 | | - "ionic-cordova-build": { |
166 | | - "builder": "@ionic/angular-toolkit:cordova-build", |
| 158 | + "cypress-open": { |
| 159 | + "builder": "@cypress/schematic:cypress", |
167 | 160 | "options": { |
168 | | - "browserTarget": "app:build" |
| 161 | + "watch": true, |
| 162 | + "headless": false |
| 163 | + } |
| 164 | + }, |
| 165 | + "ct": { |
| 166 | + "builder": "@cypress/schematic:cypress", |
| 167 | + "options": { |
| 168 | + "devServerTarget": "app:serve", |
| 169 | + "watch": true, |
| 170 | + "headless": false, |
| 171 | + "testingType": "component" |
169 | 172 | }, |
170 | 173 | "configurations": { |
171 | | - "production": { |
172 | | - "browserTarget": "app:build:production" |
| 174 | + "development": { |
| 175 | + "devServerTarget": "app:serve:development" |
173 | 176 | } |
174 | 177 | } |
175 | 178 | }, |
176 | | - "ionic-cordova-serve": { |
177 | | - "builder": "@ionic/angular-toolkit:cordova-serve", |
| 179 | + "e2e": { |
| 180 | + "builder": "@cypress/schematic:cypress", |
178 | 181 | "options": { |
179 | | - "cordovaBuildTarget": "app:ionic-cordova-build", |
180 | | - "devServerTarget": "app:serve" |
| 182 | + "devServerTarget": "app:serve", |
| 183 | + "watch": true, |
| 184 | + "headless": false |
181 | 185 | }, |
182 | 186 | "configurations": { |
183 | 187 | "production": { |
184 | | - "cordovaBuildTarget": "app:ionic-cordova-build:production", |
185 | 188 | "devServerTarget": "app:serve:production" |
186 | 189 | } |
187 | 190 | } |
|
191 | 194 | }, |
192 | 195 | "cli": { |
193 | 196 | "analytics": false, |
194 | | - "schematicCollections": ["@ionic/angular-toolkit"] |
| 197 | + "schematicCollections": [ |
| 198 | + "@cypress/schematic", |
| 199 | + "@ionic/angular-toolkit", |
| 200 | + "@schematics/angular" |
| 201 | + ] |
195 | 202 | }, |
196 | 203 | "schematics": { |
197 | 204 | "@ionic/angular-toolkit:component": { |
|
0 commit comments