mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
125 lines
3.8 KiB
JSON
125 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-devkit/build-angular: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-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "standalone-bootstrap:build"
|
|
},
|
|
"configurations": {
|
|
"dev": {
|
|
"browserTarget": "standalone-bootstrap:build:dev"
|
|
},
|
|
"production": {
|
|
"browserTarget": "standalone-bootstrap:build:production"
|
|
},
|
|
"ci": {},
|
|
"ci-production": {
|
|
"browserTarget": "standalone-bootstrap:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "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-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": ["tsconfig.app.json", "tsconfig.spec.json", "e2e/tsconfig.json"],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
},
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular: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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|