加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
angular.json 9.28 KB
一键复制 编辑 原始数据 按行查看 历史
Manfred Steyer 提交于 2020-06-30 20:03 . chore: release
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"lib": {
"root": "projects/lib",
"sourceRoot": "projects/lib/src",
"projectType": "library",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "projects/lib/tsconfig.lib.json",
"project": "projects/lib/ng-package.json"
},
"configurations": {
"production": {
"project": "projects/lib/ng-package.prod.json",
"tsConfig": "projects/lib/tsconfig.lib.prod.json"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/lib/tsconfig.lib.json",
"projects/lib/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**"]
}
}
}
},
"sample": {
"root": "projects/sample/",
"sourceRoot": "projects/sample/src",
"projectType": "application",
"prefix": "app",
"schematics": {},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"aot": true,
"outputPath": "dist/sample",
"index": "projects/sample/src/index.html",
"main": "projects/sample/src/main.ts",
"polyfills": "projects/sample/src/polyfills.ts",
"tsConfig": "projects/sample/tsconfig.app.json",
"assets": [
"projects/sample/src/favicon.ico",
"projects/sample/src/assets",
"projects/sample/src/silent-refresh.html"
],
"styles": [
"projects/sample/src/styles.css",
"node_modules/bootstrap/dist/css/bootstrap.css"
],
"scripts": []
},
"configurations": {
"production": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [
{
"replace": "projects/sample/src/environments/environment.ts",
"with": "projects/sample/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "sample:build"
},
"configurations": {
"production": {
"browserTarget": "sample:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "sample:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/sample/src/test.ts",
"polyfills": "projects/sample/src/polyfills.ts",
"tsConfig": "projects/sample/tsconfig.spec.json",
"karmaConfig": "projects/sample/karma.conf.js",
"styles": [
"projects/sample/src/styles.css",
"node_modules/bootstrap/dist/css/bootstrap.css"
],
"scripts": [],
"assets": [
"projects/sample/src/favicon.ico",
"projects/sample/src/assets"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/sample/tsconfig.app.json",
"projects/sample/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**"]
}
}
}
},
"quickstart-demo": {
"projectType": "application",
"schematics": {},
"root": "projects/quickstart-demo",
"sourceRoot": "projects/quickstart-demo/src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/quickstart-demo",
"index": "projects/quickstart-demo/src/index.html",
"main": "projects/quickstart-demo/src/main.ts",
"polyfills": "projects/quickstart-demo/src/polyfills.ts",
"tsConfig": "projects/quickstart-demo/tsconfig.app.json",
"aot": false,
"assets": [
"projects/quickstart-demo/src/favicon.ico",
"projects/quickstart-demo/src/assets"
],
"styles": ["projects/quickstart-demo/src/styles.css"],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "projects/quickstart-demo/src/environments/environment.ts",
"with": "projects/quickstart-demo/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": "quickstart-demo:build"
},
"configurations": {
"production": {
"browserTarget": "quickstart-demo:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "quickstart-demo:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/quickstart-demo/src/test.ts",
"polyfills": "projects/quickstart-demo/src/polyfills.ts",
"tsConfig": "projects/quickstart-demo/tsconfig.spec.json",
"karmaConfig": "projects/quickstart-demo/karma.conf.js",
"assets": [
"projects/quickstart-demo/src/favicon.ico",
"projects/quickstart-demo/src/assets"
],
"styles": ["projects/quickstart-demo/src/styles.css"],
"scripts": []
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/quickstart-demo/tsconfig.app.json",
"projects/quickstart-demo/tsconfig.spec.json",
"projects/quickstart-demo/e2e/tsconfig.json"
],
"exclude": ["**/node_modules/**"]
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "projects/quickstart-demo/e2e/protractor.conf.js",
"devServerTarget": "quickstart-demo:serve"
},
"configurations": {
"production": {
"devServerTarget": "quickstart-demo:serve:production"
}
}
}
}
},
"angular-oauth2-oidc-jwks": {
"projectType": "library",
"root": "projects/angular-oauth2-oidc-jwks",
"sourceRoot": "projects/angular-oauth2-oidc-jwks/src",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "projects/angular-oauth2-oidc-jwks/tsconfig.lib.json",
"project": "projects/angular-oauth2-oidc-jwks/ng-package.json"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/angular-oauth2-oidc-jwks/src/test.ts",
"tsConfig": "projects/angular-oauth2-oidc-jwks/tsconfig.spec.json",
"karmaConfig": "projects/angular-oauth2-oidc-jwks/karma.conf.js"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/angular-oauth2-oidc-jwks/tsconfig.lib.json",
"projects/angular-oauth2-oidc-jwks/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**"]
}
}
}
}
},
"schematics": {
"@schematics/angular:component": {
"style": "css"
}
},
"cli": {
"analytics": false
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化