mirror of
https://github.com/valitydev/control-center.git
synced 2024-11-06 02:25:17 +00:00
190 lines
8.2 KiB
JSON
190 lines
8.2 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"control-center": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
},
|
|
"@schematics/angular:application": {
|
|
"strict": true
|
|
}
|
|
},
|
|
"root": "projects/control-center",
|
|
"sourceRoot": "projects/control-center/src",
|
|
"prefix": "cc",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "ngx-build-plus:browser",
|
|
"options": {
|
|
"allowedCommonJsDependencies": [
|
|
"moment",
|
|
"uuid",
|
|
"short-uuid",
|
|
"js-sha256",
|
|
"jwt-decode",
|
|
"element-resize-detector",
|
|
"base64-js",
|
|
"@vality/deanonimus-proto",
|
|
"@vality/domain-proto",
|
|
"@vality/dominant-cache-proto",
|
|
"@vality/machinegun-proto",
|
|
"@vality/magista-proto",
|
|
"@vality/messages-proto",
|
|
"@vality/payout-manager-proto",
|
|
"@vality/repairer-proto",
|
|
"@vality/fistful-proto",
|
|
"@vality/file-storage-proto",
|
|
"@vality/thrift-ts"
|
|
],
|
|
"outputPath": "dist/control-center",
|
|
"index": "projects/control-center/src/index.html",
|
|
"main": "projects/control-center/src/main.ts",
|
|
"polyfills": "projects/control-center/src/polyfills.ts",
|
|
"tsConfig": "projects/control-center/tsconfig.app.json",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": [
|
|
"projects/control-center/src/favicon.ico",
|
|
"projects/control-center/src/assets",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "./node_modules/monaco-editor/min/vs",
|
|
"output": "libs/vs"
|
|
}
|
|
],
|
|
"styles": [
|
|
"projects/control-center/src/app/styles/core.scss",
|
|
{
|
|
"input": "projects/control-center/src/app/styles/themes/light.scss",
|
|
"bundleName": "light-theme",
|
|
"inject": false
|
|
}
|
|
],
|
|
"scripts": ["./node_modules/keycloak-js/dist/keycloak.js"]
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "8mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb",
|
|
"maximumError": "10kb"
|
|
}
|
|
],
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "projects/control-center/src/environments/environment.ts",
|
|
"with": "projects/control-center/src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"outputHashing": "all"
|
|
},
|
|
"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": "control-center:build:production"
|
|
},
|
|
"development": {
|
|
"browserTarget": "control-center:build:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "control-center:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "ngx-build-plus:karma",
|
|
"options": {
|
|
"main": "projects/control-center/src/test.ts",
|
|
"polyfills": "projects/control-center/src/polyfills.ts",
|
|
"tsConfig": "projects/control-center/tsconfig.spec.json",
|
|
"karmaConfig": "projects/control-center/karma.conf.js",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": [
|
|
"projects/control-center/src/favicon.ico",
|
|
"projects/control-center/src/assets",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "./node_modules/monaco-editor/min/vs",
|
|
"output": "libs/vs"
|
|
}
|
|
],
|
|
"styles": [
|
|
"projects/control-center/src/app/styles/core.scss",
|
|
{
|
|
"input": "projects/control-center/src/app/styles/themes/light.scss",
|
|
"bundleName": "light-theme",
|
|
"inject": false
|
|
}
|
|
],
|
|
"scripts": ["./node_modules/keycloak-js/dist/keycloak.js"]
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"karmaConfig": "karma-ci.conf.js"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ng-core": {
|
|
"projectType": "library",
|
|
"root": "projects/ng-core",
|
|
"sourceRoot": "projects/ng-core/src",
|
|
"prefix": "v",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:ng-packagr",
|
|
"options": {
|
|
"project": "projects/ng-core/ng-package.json"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"tsConfig": "projects/ng-core/tsconfig.lib.prod.json"
|
|
},
|
|
"development": {
|
|
"tsConfig": "projects/ng-core/tsconfig.lib.json"
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/ng-core/src/test.ts",
|
|
"tsConfig": "projects/ng-core/tsconfig.spec.json",
|
|
"karmaConfig": "projects/ng-core/karma.conf.js"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"cli": {
|
|
"analytics": false
|
|
}
|
|
}
|