mirror of
https://github.com/acgnhiki/blrec.git
synced 2024-12-29 01:50:12 +08:00
134 lines
3.8 KiB
JSON
134 lines
3.8 KiB
JSON
|
{
|
||
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
||
|
"version": 1,
|
||
|
"newProjectRoot": "projects",
|
||
|
"projects": {
|
||
|
"blrec": {
|
||
|
"projectType": "application",
|
||
|
"schematics": {
|
||
|
"@schematics/angular:component": {
|
||
|
"style": "scss"
|
||
|
},
|
||
|
"@schematics/angular:application": {
|
||
|
"strict": true
|
||
|
}
|
||
|
},
|
||
|
"root": "",
|
||
|
"sourceRoot": "src",
|
||
|
"prefix": "app",
|
||
|
"architect": {
|
||
|
"build": {
|
||
|
"builder": "@angular-devkit/build-angular:browser",
|
||
|
"options": {
|
||
|
"outputPath": "../src/blrec/data/webapp",
|
||
|
"index": "src/index.html",
|
||
|
"main": "src/main.ts",
|
||
|
"polyfills": "src/polyfills.ts",
|
||
|
"tsConfig": "tsconfig.app.json",
|
||
|
"inlineStyleLanguage": "scss",
|
||
|
"assets": [
|
||
|
"src/favicon.ico",
|
||
|
"src/assets",
|
||
|
{
|
||
|
"glob": "**/*",
|
||
|
"input": "./node_modules/@ant-design/icons-angular/src/inline-svg/",
|
||
|
"output": "/assets/"
|
||
|
},
|
||
|
"src/manifest.webmanifest"
|
||
|
],
|
||
|
"styles": [
|
||
|
"src/theme.less",
|
||
|
"src/styles.scss"
|
||
|
],
|
||
|
"scripts": [],
|
||
|
"serviceWorker": true,
|
||
|
"ngswConfigPath": "ngsw-config.json"
|
||
|
},
|
||
|
"configurations": {
|
||
|
"production": {
|
||
|
"budgets": [
|
||
|
{
|
||
|
"type": "initial",
|
||
|
"maximumWarning": "500kb",
|
||
|
"maximumError": "2mb"
|
||
|
},
|
||
|
{
|
||
|
"type": "anyComponentStyle",
|
||
|
"maximumWarning": "2kb",
|
||
|
"maximumError": "4kb"
|
||
|
}
|
||
|
],
|
||
|
"fileReplacements": [
|
||
|
{
|
||
|
"replace": "src/environments/environment.ts",
|
||
|
"with": "src/environments/environment.prod.ts"
|
||
|
}
|
||
|
],
|
||
|
"outputHashing": "all"
|
||
|
},
|
||
|
"development": {
|
||
|
"buildOptimizer": false,
|
||
|
"optimization": false,
|
||
|
"vendorChunk": true,
|
||
|
"extractLicenses": false,
|
||
|
"sourceMap": true,
|
||
|
"namedChunks": true
|
||
|
}
|
||
|
},
|
||
|
"defaultConfiguration": "production"
|
||
|
},
|
||
|
"serve": {
|
||
|
"builder": "@angular-devkit/build-angular:dev-server",
|
||
|
"configurations": {
|
||
|
"production": {
|
||
|
"browserTarget": "blrec:build:production"
|
||
|
},
|
||
|
"development": {
|
||
|
"browserTarget": "blrec:build:development"
|
||
|
}
|
||
|
},
|
||
|
"defaultConfiguration": "development"
|
||
|
},
|
||
|
"extract-i18n": {
|
||
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
||
|
"options": {
|
||
|
"browserTarget": "blrec: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",
|
||
|
"inlineStyleLanguage": "scss",
|
||
|
"assets": [
|
||
|
"src/favicon.ico",
|
||
|
"src/assets",
|
||
|
"src/manifest.webmanifest"
|
||
|
],
|
||
|
"styles": [
|
||
|
"src/styles.scss"
|
||
|
],
|
||
|
"scripts": []
|
||
|
}
|
||
|
},
|
||
|
"lint": {
|
||
|
"builder": "@angular-eslint/builder:lint",
|
||
|
"options": {
|
||
|
"lintFilePatterns": [
|
||
|
"src/**/*.ts",
|
||
|
"src/**/*.html"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"defaultProject": "blrec",
|
||
|
"cli": {
|
||
|
"defaultCollection": "@angular-eslint/schematics"
|
||
|
}
|
||
|
}
|