1 Star 1 Fork 0

lujiaming/self-angular-design

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
angular.json 5.49 KB
一键复制 编辑 原始数据 按行查看 历史
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"self-angular-design": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "less"
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/self-angular-design",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"aot": true,
"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"
],
"allowedCommonJsDependencies": [
"@angularclass/hmr",
"@ant-design/colors",
"@antv/adjust",
"@antv/attr",
"@antv/component",
"@antv/g-base",
"@antv/g-canvas",
"@antv/g-math",
"@antv/g-svg",
"@antv/path-util",
"@antv/util",
"file-saver",
"hammerjs"
]
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
},
"hmr": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.hmr.ts"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "self-angular-design:build",
"proxyConfig": "proxy.conf.json"
},
"configurations": {
"production": {
"browserTarget": "self-angular-design:build:production"
},
"hmr": {
"browserTarget": "self-angular-design:build:hmr",
"hmr": true
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "self-angular-design:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.css"
],
"scripts": [
"node_modules/ajv/dist/ajv.bundle.js"
]
}
},
"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": "self-angular-design:serve"
},
"configurations": {
"production": {
"devServerTarget": "self-angular-design:serve:production"
}
}
}
}
}
},
"defaultProject": "self-angular-design",
"schematics": {
"ng-alain:module": {
"routing": true,
"spec": false
},
"ng-alain:list": {
"spec": false
},
"ng-alain:edit": {
"spec": false,
"modal": true
},
"ng-alain:view": {
"spec": false,
"modal": true
},
"ng-alain:curd": {
"spec": false
},
"@schematics/angular:module": {
"routing": true,
"spec": false
},
"@schematics/angular:component": {
"spec": false,
"flat": false,
"inlineStyle": true,
"inlineTemplate": false
},
"@schematics/angular:directive": {
"spec": false
},
"@schematics/angular:service": {
"spec": false
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/lujiamingzzz/self-angular-design.git
[email protected]:lujiamingzzz/self-angular-design.git
lujiamingzzz
self-angular-design
self-angular-design
master

搜索帮助