628 lines
19 KiB
JSON
628 lines
19 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"ui": {
|
|
"projectType": "library",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "projects/ui",
|
|
"sourceRoot": "projects/ui/src",
|
|
"prefix": "ui",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
"options": {
|
|
"tsConfig": "projects/ui/tsconfig.lib.json",
|
|
"project": "projects/ui/ng-package.json"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/ui/src/test.ts",
|
|
"tsConfig": "projects/ui/tsconfig.spec.json",
|
|
"karmaConfig": "projects/ui/karma.conf.js"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/ui/tsconfig.lib.json",
|
|
"projects/ui/tsconfig.spec.json"
|
|
],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ui-user": {
|
|
"projectType": "library",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "projects/ui-user",
|
|
"sourceRoot": "projects/ui-user/src",
|
|
"prefix": "ui-user",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
"options": {
|
|
"tsConfig": "projects/ui-user/tsconfig.lib.json",
|
|
"project": "projects/ui-user/ng-package.json"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/ui-user/src/test.ts",
|
|
"tsConfig": "projects/ui-user/tsconfig.spec.json",
|
|
"karmaConfig": "projects/ui-user/karma.conf.js"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/ui-user/tsconfig.lib.json",
|
|
"projects/ui-user/tsconfig.spec.json"
|
|
],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ui-game": {
|
|
"projectType": "library",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "projects/ui-game",
|
|
"sourceRoot": "projects/ui-game/src",
|
|
"prefix": "ui-game",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
"options": {
|
|
"tsConfig": "projects/ui-game/tsconfig.lib.json",
|
|
"project": "projects/ui-game/ng-package.json"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/ui-game/src/test.ts",
|
|
"tsConfig": "projects/ui-game/tsconfig.spec.json",
|
|
"karmaConfig": "projects/ui-game/karma.conf.js"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/ui-game/tsconfig.lib.json",
|
|
"projects/ui-game/tsconfig.spec.json"
|
|
],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ui-money": {
|
|
"projectType": "library",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "projects/ui-money",
|
|
"sourceRoot": "projects/ui-money/src",
|
|
"prefix": "ui-money",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
"options": {
|
|
"tsConfig": "projects/ui-money/tsconfig.lib.json",
|
|
"project": "projects/ui-money/ng-package.json"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/ui-money/src/test.ts",
|
|
"tsConfig": "projects/ui-money/tsconfig.spec.json",
|
|
"karmaConfig": "projects/ui-money/karma.conf.js"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/ui-money/tsconfig.lib.json",
|
|
"projects/ui-money/tsconfig.spec.json"
|
|
],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ui-site": {
|
|
"projectType": "library",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "projects/ui-site",
|
|
"sourceRoot": "projects/ui-site/src",
|
|
"prefix": "ui-site",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
"options": {
|
|
"tsConfig": "projects/ui-site/tsconfig.lib.json",
|
|
"project": "projects/ui-site/ng-package.json"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/ui-site/src/test.ts",
|
|
"tsConfig": "projects/ui-site/tsconfig.spec.json",
|
|
"karmaConfig": "projects/ui-site/karma.conf.js"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/ui-site/tsconfig.lib.json",
|
|
"projects/ui-site/tsconfig.spec.json"
|
|
],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ui-information": {
|
|
"projectType": "library",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "projects/ui-information",
|
|
"sourceRoot": "projects/ui-information/src",
|
|
"prefix": "ui-information",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
"options": {
|
|
"tsConfig": "projects/ui-information/tsconfig.lib.json",
|
|
"project": "projects/ui-information/ng-package.json"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/ui-information/src/test.ts",
|
|
"tsConfig": "projects/ui-information/tsconfig.spec.json",
|
|
"karmaConfig": "projects/ui-information/karma.conf.js"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/ui-information/tsconfig.lib.json",
|
|
"projects/ui-information/tsconfig.spec.json"
|
|
],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ui-special": {
|
|
"projectType": "library",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "projects/ui-special",
|
|
"sourceRoot": "projects/ui-special/src",
|
|
"prefix": "ui-special",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
"options": {
|
|
"tsConfig": "projects/ui-special/tsconfig.lib.json",
|
|
"project": "projects/ui-special/ng-package.json"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/ui-special/src/test.ts",
|
|
"tsConfig": "projects/ui-special/tsconfig.spec.json",
|
|
"karmaConfig": "projects/ui-special/karma.conf.js"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/ui-special/tsconfig.lib.json",
|
|
"projects/ui-special/tsconfig.spec.json"
|
|
],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"api": {
|
|
"projectType": "library",
|
|
"root": "projects/api",
|
|
"sourceRoot": "projects/api/src",
|
|
"prefix": "api",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
"options": {
|
|
"tsConfig": "projects/api/tsconfig.lib.json",
|
|
"project": "projects/api/ng-package.json"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/api/src/test.ts",
|
|
"tsConfig": "projects/api/tsconfig.spec.json",
|
|
"karmaConfig": "projects/api/karma.conf.js"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/api/tsconfig.lib.json",
|
|
"projects/api/tsconfig.spec.json"
|
|
],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"api-user": {
|
|
"projectType": "library",
|
|
"root": "projects/api-user",
|
|
"sourceRoot": "projects/api-user/src",
|
|
"prefix": "api-user",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
"options": {
|
|
"tsConfig": "projects/api-user/tsconfig.lib.json",
|
|
"project": "projects/api-user/ng-package.json"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/api-user/src/test.ts",
|
|
"tsConfig": "projects/api-user/tsconfig.spec.json",
|
|
"karmaConfig": "projects/api-user/karma.conf.js"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/api-user/tsconfig.lib.json",
|
|
"projects/api-user/tsconfig.spec.json"
|
|
],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"api-special": {
|
|
"projectType": "library",
|
|
"root": "projects/api-special",
|
|
"sourceRoot": "projects/api-special/src",
|
|
"prefix": "api-special",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
"options": {
|
|
"tsConfig": "projects/api-special/tsconfig.lib.json",
|
|
"project": "projects/api-special/ng-package.json"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/api-special/src/test.ts",
|
|
"tsConfig": "projects/api-special/tsconfig.spec.json",
|
|
"karmaConfig": "projects/api-special/karma.conf.js"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/api-special/tsconfig.lib.json",
|
|
"projects/api-special/tsconfig.spec.json"
|
|
],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"api-site": {
|
|
"projectType": "library",
|
|
"root": "projects/api-site",
|
|
"sourceRoot": "projects/api-site/src",
|
|
"prefix": "api-site",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
"options": {
|
|
"tsConfig": "projects/api-site/tsconfig.lib.json",
|
|
"project": "projects/api-site/ng-package.json"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/api-site/src/test.ts",
|
|
"tsConfig": "projects/api-site/tsconfig.spec.json",
|
|
"karmaConfig": "projects/api-site/karma.conf.js"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/api-site/tsconfig.lib.json",
|
|
"projects/api-site/tsconfig.spec.json"
|
|
],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"api-money": {
|
|
"projectType": "library",
|
|
"root": "projects/api-money",
|
|
"sourceRoot": "projects/api-money/src",
|
|
"prefix": "api-money",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
"options": {
|
|
"tsConfig": "projects/api-money/tsconfig.lib.json",
|
|
"project": "projects/api-money/ng-package.json"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/api-money/src/test.ts",
|
|
"tsConfig": "projects/api-money/tsconfig.spec.json",
|
|
"karmaConfig": "projects/api-money/karma.conf.js"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/api-money/tsconfig.lib.json",
|
|
"projects/api-money/tsconfig.spec.json"
|
|
],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"api-information": {
|
|
"projectType": "library",
|
|
"root": "projects/api-information",
|
|
"sourceRoot": "projects/api-information/src",
|
|
"prefix": "api-information",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
"options": {
|
|
"tsConfig": "projects/api-information/tsconfig.lib.json",
|
|
"project": "projects/api-information/ng-package.json"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/api-information/src/test.ts",
|
|
"tsConfig": "projects/api-information/tsconfig.spec.json",
|
|
"karmaConfig": "projects/api-information/karma.conf.js"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/api-information/tsconfig.lib.json",
|
|
"projects/api-information/tsconfig.spec.json"
|
|
],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"api-game": {
|
|
"projectType": "library",
|
|
"root": "projects/api-game",
|
|
"sourceRoot": "projects/api-game/src",
|
|
"prefix": "api-game",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
"options": {
|
|
"tsConfig": "projects/api-game/tsconfig.lib.json",
|
|
"project": "projects/api-game/ng-package.json"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/api-game/src/test.ts",
|
|
"tsConfig": "projects/api-game/tsconfig.spec.json",
|
|
"karmaConfig": "projects/api-game/karma.conf.js"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/api-game/tsconfig.lib.json",
|
|
"projects/api-game/tsconfig.spec.json"
|
|
],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"backend": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "projects/backend",
|
|
"sourceRoot": "projects/backend/src",
|
|
"prefix": "backend",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-builders/custom-webpack:browser",
|
|
"options": {
|
|
"customWebpackConfig": {
|
|
"path": "./config/extra-webpack.config.js",
|
|
"mergeStrategies": {
|
|
"externals": "replace"
|
|
}
|
|
},
|
|
"outputPath": "dist/backend",
|
|
"index": "projects/backend/src/index.html",
|
|
"main": "projects/backend/src/main.ts",
|
|
"polyfills": "projects/backend/src/polyfills.ts",
|
|
"tsConfig": "projects/backend/tsconfig.app.json",
|
|
"aot": false,
|
|
"assets": [
|
|
"projects/backend/src/favicon.ico",
|
|
"projects/backend/src/assets"
|
|
],
|
|
"styles": ["projects/backend/src/styles.scss"],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "projects/backend/src/environments/environment.ts",
|
|
"with": "projects/backend/src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"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"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb",
|
|
"maximumError": "10kb"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-builders/custom-webpack:dev-server",
|
|
"options": {
|
|
"browserTarget": "backend:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "backend:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "backend:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/backend/src/test.ts",
|
|
"polyfills": "projects/backend/src/polyfills.ts",
|
|
"tsConfig": "projects/backend/tsconfig.spec.json",
|
|
"karmaConfig": "projects/backend/karma.conf.js",
|
|
"assets": [
|
|
"projects/backend/src/favicon.ico",
|
|
"projects/backend/src/assets"
|
|
],
|
|
"styles": ["projects/backend/src/styles.scss"],
|
|
"scripts": []
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/backend/tsconfig.app.json",
|
|
"projects/backend/tsconfig.spec.json",
|
|
"projects/backend/e2e/tsconfig.json"
|
|
],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
},
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "projects/backend/e2e/protractor.conf.js",
|
|
"devServerTarget": "backend:serve"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "backend:serve:production"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"defaultProject": "backend"
|
|
}
|