dashboard/angular.json
2022-01-14 11:17:10 +03:00

169 lines
7.2 KiB
JSON

{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"dashboard": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
},
"@schematics/angular:application": {
"strict": true
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "ngx-build-plus:browser",
"options": {
"allowedCommonJsDependencies": [
"uuid",
"keycloak-js",
"css-element-queries",
"humanize-duration",
"angular2-text-mask",
"apexcharts"
],
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": ["src/favicon.ico", "src/assets", "src/appConfig.json", "src/authConfig.json"],
"styles": [
"src/styles/core.scss",
{
"input": "src/styles/themes/main.scss",
"bundleName": "main-theme",
"inject": false
},
{
"input": "src/styles/themes/persian-green.scss",
"bundleName": "persian-green-theme",
"inject": false
},
{
"input": "src/styles/themes/solitude.scss",
"bundleName": "solitude-theme",
"inject": false
},
{
"input": "src/styles/themes/eastern.scss",
"bundleName": "eastern-theme",
"inject": false
}
],
"scripts": []
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"outputHashing": "all",
"sourceMap": true
},
"stub-keycloak": {
"fileReplacements": [
{
"replace": "src/app/auth/keycloak/index.ts",
"with": "src/app/auth/keycloak/index.stub.ts"
}
]
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "ngx-build-plus:dev-server",
"configurations": {
"production": {
"browserTarget": "dashboard:build:production"
},
"development": {
"browserTarget": "dashboard:build:development"
},
"stub-keycloak": {
"browserTarget": "dashboard:build:stub-keycloak"
}
},
"defaultConfiguration": "development"
},
"test": {
"builder": "ngx-build-plus: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/appConfig.json", "src/authConfig.json"],
"styles": [
"src/styles/core.scss",
{
"input": "src/styles/themes/main.scss",
"bundleName": "main-theme",
"inject": false
},
{
"input": "src/styles/themes/persian-green.scss",
"bundleName": "persian-green-theme",
"inject": false
},
{
"input": "src/styles/themes/solitude.scss",
"bundleName": "solitude-theme",
"inject": false
},
{
"input": "src/styles/themes/eastern.scss",
"bundleName": "eastern-theme",
"inject": false
}
],
"scripts": [],
"codeCoverageExclude": ["src/**/swagger-codegen/**/*", "src/**/openapi-codegen/**"]
},
"configurations": {
"ci": {
"karmaConfig": "karma-ci.conf.js"
}
}
}
}
}
},
"defaultProject": "dashboard",
"cli": {
"analytics": false
}
}