dashboard/angular.json

185 lines
7.8 KiB
JSON
Raw Normal View History

2018-11-27 09:06:26 +00:00
{
2018-11-30 13:26:03 +00:00
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"dashboard": {
2020-03-30 13:40:22 +00:00
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
2018-11-30 13:26:03 +00:00
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
2019-06-26 13:12:03 +00:00
"builder": "ngx-build-plus:browser",
2018-11-30 13:26:03 +00:00
"options": {
"allowedCommonJsDependencies": [
"uuid",
"keycloak-js",
"css-element-queries",
"humanize-duration",
"angular2-text-mask",
"apexcharts"
],
2018-11-30 13:26:03 +00:00
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
2020-03-30 13:40:22 +00:00
"tsConfig": "tsconfig.app.json",
"aot": true,
2019-09-05 15:16:47 +00:00
"assets": ["src/favicon.ico", "src/assets", "src/appConfig.json", "src/authConfig.json"],
2019-05-13 12:02:44 +00:00
"styles": [
2019-06-20 15:40:23 +00:00
"src/styles/core.scss",
2019-05-13 12:02:44 +00:00
{
2021-03-05 10:29:56 +00:00
"input": "src/styles/themes/main.scss",
"bundleName": "themes/main",
2019-05-13 12:02:44 +00:00
"lazy": true
},
{
"input": "src/styles/themes/persian-green.scss",
"bundleName": "themes/persian-green",
2019-05-13 12:02:44 +00:00
"lazy": true
}
],
2018-11-30 13:26:03 +00:00
"scripts": []
},
"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,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
2020-03-30 13:40:22 +00:00
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
2018-11-30 13:26:03 +00:00
}
]
},
"stub-keycloak": {
"fileReplacements": [
{
"replace": "src/app/auth/keycloak/index.ts",
"with": "src/app/auth/keycloak/index.stub.ts"
}
]
2018-11-30 13:26:03 +00:00
}
}
},
"serve": {
2018-12-04 17:38:16 +00:00
"builder": "ngx-build-plus:dev-server",
2018-11-30 13:26:03 +00:00
"options": {
"browserTarget": "dashboard:build"
},
"configurations": {
"production": {
"browserTarget": "dashboard:build:production"
},
"stub-keycloak": {
"browserTarget": "dashboard:build:stub-keycloak"
2018-11-30 13:26:03 +00:00
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "dashboard:build"
}
},
"test": {
2019-06-26 13:12:03 +00:00
"builder": "ngx-build-plus:karma",
2018-11-30 13:26:03 +00:00
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
2020-03-30 13:40:22 +00:00
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"assets": ["src/favicon.ico", "src/assets", "src/appConfig.json", "src/authConfig.json"],
"styles": [
"src/styles/core.scss",
{
2021-03-05 10:29:56 +00:00
"input": "src/styles/themes/main.scss",
"bundleName": "themes/main",
"lazy": true
},
{
"input": "src/styles/themes/persian-green.scss",
"bundleName": "themes/persian-green",
"lazy": true
}
],
"scripts": [],
"codeCoverageExclude": ["src/**/swagger-codegen/**/*", "src/**/openapi-codegen/**"]
}
},
"test-ci": {
"builder": "ngx-build-plus:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma-ci.conf.js",
"assets": ["src/favicon.ico", "src/assets", "src/appConfig.json", "src/authConfig.json"],
2019-05-13 12:02:44 +00:00
"styles": [
2019-06-20 15:40:23 +00:00
"src/styles/core.scss",
2019-05-13 12:02:44 +00:00
{
2021-03-05 10:29:56 +00:00
"input": "src/styles/themes/main.scss",
"bundleName": "themes/main",
2019-05-13 12:02:44 +00:00
"lazy": true
},
{
"input": "src/styles/themes/persian-green.scss",
"bundleName": "themes/persian-green",
2019-05-13 12:02:44 +00:00
"lazy": true
}
],
2018-11-30 13:26:03 +00:00
"scripts": [],
"codeCoverageExclude": ["src/**/swagger-codegen/**/*", "src/**/openapi-codegen/**"]
2018-11-30 13:26:03 +00:00
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
2018-11-30 13:26:03 +00:00
"options": {
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
2018-11-30 13:26:03 +00:00
}
2020-03-30 13:40:22 +00:00
},
2018-11-30 13:26:03 +00:00
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "dashboard:serve"
},
"configurations": {
"production": {
"devServerTarget": "dashboard:serve:production"
}
}
}
2018-11-27 09:06:26 +00:00
}
}
},
2019-06-26 13:12:03 +00:00
"defaultProject": "dashboard",
"cli": {
"analytics": false
}
2018-11-30 13:26:03 +00:00
}