control-center/angular.json

136 lines
5.4 KiB
JSON
Raw Normal View History

{
2019-01-16 17:29:08 +00:00
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"control-center": {
2020-04-09 09:53:00 +00:00
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
2019-01-16 17:29:08 +00:00
"root": "",
"sourceRoot": "src",
2020-04-09 09:53:00 +00:00
"prefix": "cc",
2019-01-16 17:29:08 +00:00
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
2020-04-09 09:53:00 +00:00
"tsConfig": "tsconfig.app.json",
"aot": true,
2019-01-16 17:29:08 +00:00
"assets": [
{
"glob": "**/*",
"input": "./node_modules/monaco-editor/min/vs",
"output": "libs/vs"
},
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/app/styles/core.scss",
{
"input": "src/app/styles/themes/light.scss",
"bundleName": "themes/light",
"lazy": true
}
],
2019-01-16 17:29:08 +00:00
"scripts": ["./node_modules/keycloak-js/dist/keycloak.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,
"extractLicenses": true,
"vendorChunk": false,
2020-04-09 09:53:00 +00:00
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
2019-01-16 17:29:08 +00:00
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "control-center:build"
},
"configurations": {
"production": {
"browserTarget": "control-center:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "control-center:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
2020-04-09 09:53:00 +00:00
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.scss"],
"scripts": []
2019-01-16 17:29:08 +00:00
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
2020-04-09 09:53:00 +00:00
"tsConfig": [
"tsconfig.app.json",
"tsconfig.spec.json",
"e2e/tsconfig.json"
],
2019-01-16 17:29:08 +00:00
"exclude": ["**/node_modules/**"]
}
2020-04-09 09:53:00 +00:00
},
2019-01-16 17:29:08 +00:00
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "control-center:serve"
},
"configurations": {
"production": {
"devServerTarget": "control-center:serve:production"
}
}
}
}
}
},
2020-04-09 09:53:00 +00:00
"defaultProject": "control-center",
"cli": {
"analytics": false
}
2019-01-16 17:29:08 +00:00
}