mirror of
https://github.com/valitydev/control-center.git
synced 2024-11-06 02:25:17 +00:00
151 lines
6.2 KiB
JSON
151 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"
|
|
}
|
|
},
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"prefix": "cc",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/control-center",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"polyfills": ["zone.js"],
|
|
"tsConfig": "tsconfig.app.json",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": [
|
|
"src/favicon.ico",
|
|
"src/assets",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/monaco-editor",
|
|
"output": "/assets/monaco/"
|
|
}
|
|
],
|
|
"styles": ["src/app/styles/styles.scss"],
|
|
"scripts": [],
|
|
"allowedCommonJsDependencies": [
|
|
"uuid",
|
|
"short-uuid",
|
|
"js-sha256",
|
|
"jwt-decode",
|
|
"base64-js",
|
|
"@vality/deanonimus-proto",
|
|
"@vality/domain-proto",
|
|
"@vality/dominant-cache-proto",
|
|
"@vality/machinegun-proto",
|
|
"@vality/magista-proto",
|
|
"@vality/messages-proto",
|
|
"@vality/repairer-proto",
|
|
"@vality/fistful-proto",
|
|
"@vality/file-storage-proto",
|
|
"@vality/thrift-ts",
|
|
"papaparse"
|
|
]
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "7mb",
|
|
"maximumError": "8mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "2kb",
|
|
"maximumError": "4kb"
|
|
}
|
|
],
|
|
"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
|
|
},
|
|
"stage": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.stage.ts"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "control-center:build:production"
|
|
},
|
|
"development": {
|
|
"buildTarget": "control-center:build:development"
|
|
},
|
|
"stage": {
|
|
"buildTarget": "control-center:build:development,stage"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"buildTarget": "control-center:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"polyfills": ["zone.js", "zone.js/testing"],
|
|
"tsConfig": "tsconfig.spec.json",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": [
|
|
"src/favicon.ico",
|
|
"src/assets",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/monaco-editor",
|
|
"output": "/assets/monaco/"
|
|
}
|
|
],
|
|
"styles": ["src/app/styles/styles.scss"],
|
|
"scripts": []
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-eslint/builder:lint",
|
|
"options": {
|
|
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"cli": {
|
|
"schematicCollections": ["@angular-eslint/schematics"],
|
|
"analytics": false
|
|
}
|
|
}
|