mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This fixes any existing usage of `@angular-devkit/build-angular:protractor` which would be broken by the CLI `-next.12` upgrade. PR Close #58254
99 lines
2.7 KiB
JSON
99 lines
2.7 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"cli": {
|
|
"analytics": false,
|
|
"cache": {
|
|
"enabled": false
|
|
}
|
|
},
|
|
"projects": {
|
|
"hydration": {
|
|
"projectType": "application",
|
|
"schematics": {},
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular/build:application",
|
|
"options": {
|
|
"progress": false,
|
|
"outputPath": "dist",
|
|
"index": "src/index.html",
|
|
"browser": "src/main.ts",
|
|
"polyfills": ["zone.js"],
|
|
"tsConfig": "tsconfig.app.json",
|
|
"assets": [
|
|
{
|
|
"glob": "**/*",
|
|
"input": "public"
|
|
}
|
|
],
|
|
"styles": ["src/styles.css"],
|
|
"scripts": [],
|
|
"server": "src/main.server.ts",
|
|
"prerender": false,
|
|
"ssr": true
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "500kb",
|
|
"maximumError": "1mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "2kb",
|
|
"maximumError": "4kb"
|
|
}
|
|
],
|
|
"outputHashing": "all"
|
|
},
|
|
"development": {
|
|
"optimization": false,
|
|
"extractLicenses": false,
|
|
"sourceMap": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"builder": "@angular/build:dev-server",
|
|
"options": {
|
|
"port": 0
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "hydration:build:production"
|
|
},
|
|
"development": {
|
|
"buildTarget": "hydration:build:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:private-protractor",
|
|
"options": {
|
|
"port": 0,
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
"webdriverUpdate": false
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "hydration:serve:production"
|
|
},
|
|
"development": {
|
|
"devServerTarget": "hydration:serve:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|