bixi
Version:
企业级中后台前端解决方案
119 lines (118 loc) • 3.47 kB
JSON
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"site": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "src/dist",
"index": "src/index.html",
"main": "src/main.ts",
"tsConfig": "src/tsconfig.json",
"polyfills": "src/polyfills.ts",
"assets": [
"src/favicon.ico",
"src/assets",
{
"glob": "**/*",
"input": "node_modules/bixi-label/dist",
"output": "source"
}
],
"styles": ["node_modules/aos/dist/aos.css", "src/styles.less"],
"stylePreprocessorOptions": {
"includePaths": [
"./",
"./node_modules"
]
},
"scripts": ["node_modules/aos/dist/aos.js"]
},
"configurations": {
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
]
},
"hmr": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.hmr.ts"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "site:build"
},
"configurations": {
"production": {
"browserTarget": "site:build:production"
},
"hmr": {
"browserTarget": "site:build:hmr",
"hmr": true
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": ["src/tsconfig.json"],
"exclude": ["**/node_modules/**"]
}
}
}
},
"bixi": {
"root": "packages",
"projectType": "library",
"prefix": "",
"architect": {
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "packages/test.ts",
"karmaConfig": "packages/karma.conf.js",
"polyfills": "packages/polyfills.ts",
"tsConfig": "packages/tsconfig.spec.json",
"codeCoverageExclude": ["packages/schematics/**", "packages/testing/**"],
"styles": ["packages/core/index.less"],
"stylePreprocessorOptions": {
"includePaths": [
"./",
"./node_modules"
]
}
}
}
}
}
},
"defaultProject": "site",
"cli": {
"analytics": false
}
}