dashboard/angular.json

151 lines
6.1 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": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "app",
"schematics": {},
"architect": {
"build": {
2019-06-26 13:12:03 +00:00
"builder": "ngx-build-plus:browser",
2018-11-30 13:26:03 +00:00
"options": {
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"assets": ["src/favicon.ico", "src/assets"],
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
{
2019-06-20 15:40:23 +00:00
"input": "src/styles/themes/light.scss",
2019-05-13 12:02:44 +00:00
"bundleName": "themes/light",
"lazy": true
},
{
2019-06-20 15:40:23 +00:00
"input": "src/styles/themes/dark.scss",
2019-05-13 12:02:44 +00:00
"bundleName": "themes/dark",
"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"
2019-04-29 14:29:02 +00:00
},
{
2019-05-13 12:02:44 +00:00
"replace": "src/app/auth/keycloak/index.js",
"with": "src/app/auth/keycloak/index.real.ts"
2018-11-30 13:26:03 +00:00
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
}
}
},
"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"
}
}
},
"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",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
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
{
2019-06-20 15:40:23 +00:00
"input": "src/styles/themes/light.scss",
2019-05-13 12:02:44 +00:00
"bundleName": "themes/light",
"lazy": true
},
{
2019-06-20 15:40:23 +00:00
"input": "src/styles/themes/dark.scss",
2019-05-13 12:02:44 +00:00
"bundleName": "themes/dark",
"lazy": true
}
],
2018-11-30 13:26:03 +00:00
"scripts": [],
2019-09-03 14:21:30 +00:00
"assets": ["src/favicon.ico", "src/assets"],
"codeCoverageExclude": ["src/**/swagger-codegen/**/*"]
2018-11-30 13:26:03 +00:00
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": ["src/tsconfig.app.json", "src/tsconfig.spec.json"],
2019-08-29 11:16:13 +00:00
"exclude": ["**/node_modules/**", "**/*.json", "src/app/api-codegen/**/swagger-codegen/**"]
2018-11-30 13:26:03 +00:00
}
2018-11-27 09:06:26 +00:00
}
}
},
2018-11-30 13:26:03 +00:00
"dashboard-e2e": {
"root": "e2e/",
"projectType": "application",
"prefix": "",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "dashboard:serve"
},
"configurations": {
"production": {
"devServerTarget": "dashboard:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
2019-08-29 11:16:13 +00:00
"exclude": ["**/node_modules/**", "**/*.json", "src/app/api-config/**/swagger-codegen/**"]
2018-11-30 13:26:03 +00:00
}
}
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
}