angular/integration/standalone-bootstrap/angular.json
Doug Parker 8b5e5f76a4 test: update protractor builder usage to private-protractor (#58254)
This fixes any existing usage of `@angular-devkit/build-angular:protractor` which would be broken by the CLI `-next.12` upgrade.

PR Close #58254
2024-10-22 07:37:14 -07:00

131 lines
3.8 KiB
JSON

{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"standalone-bootstrap": {
"projectType": "application",
"schematics": {},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular/build:application",
"options": {
"outputHashing": "none",
"outputPath": {
"base": "dist",
"browser": ""
},
"index": "src/index.html",
"polyfills": [
"zone.js"
],
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.css"],
"scripts": [],
"optimization": false,
"progress": false,
"browser": "src/main.ts"
},
"configurations": {
"production": {
"optimization": true,
"outputHashing": "none",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
}
}
},
"serve": {
"builder": "@angular/build:dev-server",
"options": {
"buildTarget": "standalone-bootstrap:build"
},
"configurations": {
"dev": {
"buildTarget": "standalone-bootstrap:build:dev"
},
"production": {
"buildTarget": "standalone-bootstrap:build:production"
},
"ci": {},
"ci-production": {
"buildTarget": "standalone-bootstrap:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular/build:extract-i18n",
"options": {
"buildTarget": "standalone-bootstrap:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.css"],
"scripts": [],
"progress": false,
"watch": false
}
},
"lint": {
"builder": "@angular/build:tslint",
"options": {
"tsConfig": ["tsconfig.app.json", "tsconfig.spec.json", "e2e/tsconfig.json"],
"exclude": ["**/node_modules/**"]
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:private-protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "standalone-bootstrap:serve",
"webdriverUpdate": false
},
"configurations": {
"production": {
"devServerTarget": "standalone-bootstrap:serve:production"
},
"ci": {
"devServerTarget": "standalone-bootstrap:serve:ci"
},
"ci-production": {
"devServerTarget": "standalone-bootstrap:serve:ci-production"
}
}
}
}
}
},
"cli": {
"cache": {
"enabled": false
},
"analytics": false
}
}