mirror of
https://github.com/valitydev/control-center.git
synced 2024-11-06 02:25:17 +00:00
152 lines
6.2 KiB
JSON
152 lines
6.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": "",
|
|
"sourceRoot": "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"
|
|
],
|
|
"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",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "./node_modules/monaco-editor/min/vs",
|
|
"output": "libs/vs"
|
|
}
|
|
],
|
|
"styles": [
|
|
"src/app/styles/core.scss",
|
|
{
|
|
"input": "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": "src/environments/environment.ts",
|
|
"with": "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"
|
|
},
|
|
"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",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "./node_modules/monaco-editor/min/vs",
|
|
"output": "libs/vs"
|
|
}
|
|
],
|
|
"styles": [
|
|
"src/app/styles/core.scss",
|
|
{
|
|
"input": "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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"cli": {
|
|
"analytics": false
|
|
}
|
|
}
|