1 Star 0 Fork 1

xiqiaoliang/ng-zorro-antd

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
angular.json 8.62 KB
一键复制 编辑 原始数据 按行查看 历史
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"ng-zorro-antd-doc": {
"root": "",
"sourceRoot": "site/doc",
"projectType": "application",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/browser",
"index": "./site/doc/index.html",
"main": "./site/doc/main.ts",
"tsConfig": "./site/doc/tsconfig.app.json",
"polyfills": "./site/doc/polyfills.ts",
"assets": [
"site/doc/assets",
"site/doc/manifest.json",
"site/doc/favicon.ico",
"site/doc/404.html",
"site/doc/google854eb8b183564acb.html",
"site/doc/robots.txt",
{
"glob": "**/*",
"input": "./node_modules/@ant-design/icons-angular/src/inline-svg/",
"output": "/assets/"
},
{
"glob": "**/*",
"input": "./node_modules/monaco-editor/min/vs",
"output": "/assets/vs/"
}
],
"styles": [
"site/doc/styles.less"
],
"allowedCommonJsDependencies": [
"codesandbox",
"codesandbox-import-utils",
"@ant-design/colors"
],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "./site/doc/environments/environment.ts",
"with": "./site/doc/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"serviceWorker": true,
"ngswConfigPath": "ngsw-config.json"
},
"pre-production": {
"fileReplacements": [
{
"replace": "./site/doc/environments/environment.ts",
"with": "./site/doc/environments/environment.pre-prod.ts"
}
],
"serviceWorker": false
},
"es5": {
"tsConfig": "./site/doc/tsconfig.es5.json"
}
},
"defaultConfiguration": ""
},
"server": {
"builder": "@angular-devkit/build-angular:server",
"options": {
"outputPath": "dist/server",
"main": "./site/doc/main.server.ts",
"tsConfig": "./site/doc/tsconfig.server.json",
"sourceMap": true,
"optimization": false
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "./site/doc/environments/environment.ts",
"with": "./site/doc/environments/environment.prod.ts"
}
]
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "ng-zorro-antd-doc:build"
},
"configurations": {
"production": {
"browserTarget": "ng-zorro-antd-doc:build:production"
}
}
},
"serve-ssr": {
"builder": "@nguniversal/builders:ssr-dev-server",
"options": {
"browserTarget": "ng-zorro-antd-doc:build",
"serverTarget": "ng-zorro-antd-doc:server"
},
"configurations": {
"production": {
"browserTarget": "ng-zorro-antd-doc:production",
"serverTarget": "ng-zorro-antd-doc:production"
}
}
},
"prerender": {
"builder": "@nguniversal/builders:prerender",
"options": {
"browserTarget": "ng-zorro-antd-doc:build:production",
"serverTarget": "ng-zorro-antd-doc:server:production",
"routesFile": "scripts/prerender/route-paths.txt"
},
"configurations": {
"production": {}
}
}
}
},
"ng-zorro-antd-iframe": {
"root": "",
"sourceRoot": "site/iframe",
"projectType": "application",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/browser/iframe",
"index": "./site/iframe/index.html",
"main": "./site/iframe/main.ts",
"tsConfig": "./site/iframe/tsconfig.app.json",
"polyfills": "./site/iframe/polyfills.ts",
"assets": [
{
"glob": "**/*",
"input": "./node_modules/@ant-design/icons-angular/src/inline-svg/",
"output": "/assets/"
}
],
"styles": [
"components/ng-zorro-antd.less"
],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "./site/iframe/environments/environment.ts",
"with": "./site/iframe/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"serviceWorker": true
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "ng-zorro-antd-iframe:build"
},
"configurations": {
"production": {
"browserTarget": "ng-zorro-antd-iframe:build:production"
}
}
}
}
},
"ng-zorro-antd-doc-e2e": {
"root": "",
"sourceRoot": "",
"projectType": "application"
},
"ng-zorro-antd-lib": {
"root": "components",
"projectType": "library",
"prefix": "nz",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "components/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "components/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "components/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"fileReplacements": [
{
"replace": "components/core/environments/environment.ts",
"with": "components/core/environments/environment.test.ts"
}
],
"assets": [
{
"glob": "**/*",
"input": "./node_modules/monaco-editor/min/vs",
"output": "/assets/vs/"
}
],
"main": "components/test.ts",
"karmaConfig": "components/karma.conf.js",
"polyfills": "components/polyfills.ts",
"tsConfig": "components/tsconfig.spec.json",
"scripts": []
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"fix": true,
"lintFilePatterns": [
"components/**/*.ts",
"components/**/*.html"
]
}
}
}
}
},
"defaultProject": "ng-zorro-antd-doc",
"schematics": {
"@schematics/angular:component": {
"prefix": "app",
"style": "less"
},
"@schematics/angular:directive": {
"prefix": "app"
}
},
"cli": {
"analytics": false
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/xiql/ng-zorro-antd.git
git@gitee.com:xiql/ng-zorro-antd.git
xiql
ng-zorro-antd
ng-zorro-antd
master

搜索帮助