Created
January 13, 2019 14:54
-
-
Save GeoffMahugu/50a7197ee9560df0945c66a4df7edb43 to your computer and use it in GitHub Desktop.
Angular-Cypress angular.json before edit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | |
"version": 1, | |
"newProjectRoot": "projects", | |
"projects": { | |
"angular.io-example": { | |
"root": "", | |
"sourceRoot": "src", | |
"projectType": "application", | |
"prefix": "app", | |
"schematics": {}, | |
"architect": { | |
"build": { | |
"builder": "@angular-devkit/build-angular:browser", | |
"options": { | |
"outputPath": "dist", | |
"index": "src/index.html", | |
"main": "src/main.ts", | |
"polyfills": "src/polyfills.ts", | |
"tsConfig": "src/tsconfig.app.json", | |
"assets": [ | |
"src/favicon.ico", | |
"src/assets" | |
], | |
"styles": [ | |
"src/styles.css" | |
], | |
"scripts": [] | |
}, | |
"configurations": { | |
"production": { | |
"fileReplacements": [ | |
{ | |
"replace": "src/environments/environment.ts", | |
"with": "src/environments/environment.prod.ts" | |
} | |
], | |
"optimization": true, | |
"outputHashing": "all", | |
"sourceMap": false, | |
"extractCss": true, | |
"namedChunks": false, | |
"aot": true, | |
"extractLicenses": true, | |
"vendorChunk": false, | |
"buildOptimizer": true, | |
"budgets": [ | |
{ | |
"type": "initial", | |
"maximumWarning": "2mb", | |
"maximumError": "5mb" | |
} | |
] | |
} | |
} | |
}, | |
"serve": { | |
"builder": "@angular-devkit/build-angular:dev-server", | |
"options": { | |
"browserTarget": "angular.io-example:build" | |
}, | |
"configurations": { | |
"production": { | |
"browserTarget": "angular.io-example:build:production" | |
} | |
} | |
}, | |
"extract-i18n": { | |
"builder": "@angular-devkit/build-angular:extract-i18n", | |
"options": { | |
"browserTarget": "angular.io-example:build" | |
} | |
}, | |
"test": { | |
"builder": "@angular-devkit/build-angular:karma", | |
"options": { | |
"main": "src/test.ts", | |
"polyfills": "src/polyfills.ts", | |
"tsConfig": "src/tsconfig.spec.json", | |
"karmaConfig": "src/karma.conf.js", | |
"styles": [ | |
"src/styles.css" | |
], | |
"scripts": [], | |
"assets": [ | |
"src/favicon.ico", | |
"src/assets" | |
] | |
} | |
}, | |
"lint": { | |
"builder": "@angular-devkit/build-angular:tslint", | |
"options": { | |
"tsConfig": [ | |
"src/tsconfig.app.json", | |
"src/tsconfig.spec.json" | |
], | |
"exclude": [ | |
"**/node_modules/**" | |
] | |
} | |
} | |
} | |
}, | |
"angular.io-example-e2e": { | |
"root": "e2e/", | |
"projectType": "application", | |
"prefix": "", | |
"architect": { | |
"e2e": { | |
"builder": "@angular-devkit/build-angular:protractor", | |
"options": { | |
"protractorConfig": "e2e/protractor.conf.js", | |
"devServerTarget": "angular.io-example:serve" | |
}, | |
"configurations": { | |
"production": { | |
"devServerTarget": "angular.io-example:serve:production" | |
} | |
} | |
}, | |
"lint": { | |
"builder": "@angular-devkit/build-angular:tslint", | |
"options": { | |
"tsConfig": "e2e/tsconfig.e2e.json", | |
"exclude": [ | |
"**/node_modules/**" | |
] | |
} | |
} | |
} | |
} | |
}, | |
"defaultProject": "angular.io-example" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the angular.json file before we edit it removing the karman and protractor settings