加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
angular.json 5.96 KB
一键复制 编辑 原始数据 按行查看 历史
zhangxinya 提交于 2020-06-18 08:31 . first add
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"was": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "app",
"schematics": {
"@schematics/angular:component": {
"styleext": "less"
}
},
"architect": {
"build": {
"builder": "@angular-builders/custom-webpack:browser",
"options": {
"customWebpackConfig": {
"path": "./webpack.config.js"
},
"outputPath": "wwwroot",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets",
{
"glob": "**/*",
"input": "./node_modules/@ant-design/icons-angular/src/inline-svg/",
"output": "/assets/"
}
],
"styles": ["src/styles.less"],
"scripts": [
"node_modules/ajv/dist/ajv.bundle.js",
"node_modules/@antv/g2/dist/g2.min.js",
"node_modules/@antv/data-set/dist/data-set.min.js",
"node_modules/@antv/g2-plugin-slider/dist/g2-plugin-slider.min.js"
]
},
"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": "5mb",
"maximumError": "10mb"
}
]
},
"hmr": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.hmr.ts"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "was:build",
"port": 4203,
"proxyConfig": "proxy.conf.json"
},
"configurations": {
"production": {
"browserTarget": "was:build:production"
},
"hmr": {
"browserTarget": "was:build:hmr",
"hmr": true
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "was:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles": ["src/styles.less"],
"scripts": [
"node_modules/ajv/dist/ajv.bundle.js",
"node_modules/@antv/g2/dist/g2.min.js",
"node_modules/@antv/data-set/dist/data-set.min.js",
"node_modules/@antv/g2-plugin-slider/dist/g2-plugin-slider.min.js"
],
"assets": ["src/favicon.ico", "src/assets"],
"watch": false,
"progress": false,
"codeCoverage": true,
"codeCoverageExclude": [
"**/*.module.ts",
"src/app/routes/test/**/*.ts",
"src/app/shared/components/test/*.ts",
"src/app/shared/components/test-control/*.ts",
"src/app/core/api/**/*"
],
"browsers": "ChromeHeadlessNoSandbox"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": ["src/tsconfig.app.json", "src/tsconfig.spec.json"],
"exclude": ["**/node_modules/**"]
}
}
}
},
"was-e2e": {
"root": "e2e/",
"projectType": "application",
"prefix": "",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "was:serve",
"port": 42031
},
"configurations": {
"production": {
"devServerTarget": "was:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.json",
"exclude": ["**/node_modules/**"]
}
}
}
}
},
"defaultProject": "was",
"cli": {
"warnings": {
"typescriptMismatch": false
}
},
"schematics": {
"ng-alain:module": {
"routing": true,
"spec": false
},
"ng-alain:list": {
"spec": true
},
"ng-alain:edit": {
"spec": true,
"modal": true
},
"ng-alain:view": {
"spec": true,
"modal": true
},
"ng-alain:curd": {
"spec": true
},
"@schematics/angular:module": {
"routing": true,
"spec": false
},
"@schematics/angular:component": {
"spec": true,
"flat": false,
"inlineStyle": false,
"inlineTemplate": false
},
"@schematics/angular:directive": {
"spec": true
},
"@schematics/angular:service": {
"spec": true
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化