加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
angular.json 5.92 KB
一键复制 编辑 原始数据 按行查看 历史
june 提交于 2021-02-18 14:41 . chore(release): release 11.0.0 (#91)
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"devui": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "app",
"schematics": {},
"architect": {
"build": {
"builder": "@angular-builders/custom-webpack:browser",
"options": {
"allowedCommonJsDependencies": [
"date-fns",
"highlight.js",
"codemirror",
"xss",
"enquire.js"
],
"customWebpackConfig": {
"path": "scripts/extra-webpack.config.js"
},
"outputPath": "dist/components",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets",
"src/assets/i18n"
],
"styles": [
"node_modules/highlight.js/styles/an-old-hope.css",
"src/styles.scss"
],
"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": "3mb",
"maximumError": "5mb"
}
]
},
"es5": {
"tsConfig": "src/tsconfig.app.es5.json"
},
"separate": {
"tsConfig": "src/tsconfig.app.separate.json"
}
}
},
"serve": {
"builder": "@angular-builders/custom-webpack:dev-server",
"options": {
"browserTarget": "devui:build"
},
"configurations": {
"production": {
"browserTarget": "devui:build:production"
},
"es5": {
"browserTarget": "devui:build:es5"
},
"separate": {
"browserTarget": "devui:build:separate"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "devui:build"
}
},
"test": {
"builder": "@angular-builders/custom-webpack:karma",
"options": {
"customWebpackConfig": {
"path": "scripts/extra-webpack.config.js"
},
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles": [
"src/styles.scss"
],
"scripts": [],
"assets": [
"src/favicon.ico",
"src/assets",
"src/assets/i18n"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
"devui-e2e": {
"root": "e2e/",
"projectType": "application",
"prefix": "",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "devui:serve"
},
"configurations": {
"production": {
"devServerTarget": "devui:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
"exclude": [
"**/node_modules/**"
]
}
}
}
},
"devui-lib": {
"root": "devui",
"sourceRoot": "devui",
"projectType": "library",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "devui/tsconfig.lib.json",
"project": "devui/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "devui/tsconfig.lib.prod.json"
}
}
},
"test": {
"builder": "@angular-builders/custom-webpack:karma",
"options": {
"customWebpackConfig": {
"path": "scripts/extra-webpack.config.js"
},
"main": "devui/test.ts",
"tsConfig": "devui/tsconfig.spec.json",
"karmaConfig": "devui/karma.conf.js",
"polyfills": "devui/polyfills.ts",
"codeCoverage": true,
"styles": [
"src/styles.scss"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"devui/tsconfig.lib.json",
"devui/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
}
},
"defaultProject": "devui"
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化