2018-08-02 13:41:30 +00:00
|
|
|
{
|
2019-01-16 17:29:08 +00:00
|
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
|
|
"version": 1,
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
"projects": {
|
|
|
|
"control-center": {
|
2020-04-09 09:53:00 +00:00
|
|
|
"projectType": "application",
|
|
|
|
"schematics": {
|
|
|
|
"@schematics/angular:component": {
|
|
|
|
"style": "scss"
|
|
|
|
}
|
|
|
|
},
|
2019-01-16 17:29:08 +00:00
|
|
|
"root": "",
|
|
|
|
"sourceRoot": "src",
|
2020-04-09 09:53:00 +00:00
|
|
|
"prefix": "cc",
|
2019-01-16 17:29:08 +00:00
|
|
|
"architect": {
|
|
|
|
"build": {
|
|
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
|
|
"options": {
|
|
|
|
"outputPath": "dist",
|
|
|
|
"index": "src/index.html",
|
|
|
|
"main": "src/main.ts",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
2020-04-09 09:53:00 +00:00
|
|
|
"tsConfig": "tsconfig.app.json",
|
|
|
|
"aot": true,
|
2020-08-21 12:15:41 +00:00
|
|
|
"allowedCommonJsDependencies": [
|
|
|
|
"moment",
|
|
|
|
"keycloak-js",
|
|
|
|
"uuid",
|
|
|
|
"js-sha256",
|
|
|
|
"jwt-decode",
|
|
|
|
"rxjs",
|
|
|
|
"thrift-ts",
|
|
|
|
"buffer",
|
|
|
|
"@rbkmoney/partial-fetcher",
|
|
|
|
"humanize-duration"
|
|
|
|
],
|
2019-01-16 17:29:08 +00:00
|
|
|
"assets": [
|
|
|
|
{
|
|
|
|
"glob": "**/*",
|
|
|
|
"input": "./node_modules/monaco-editor/min/vs",
|
|
|
|
"output": "libs/vs"
|
|
|
|
},
|
|
|
|
"src/favicon.ico",
|
|
|
|
"src/assets"
|
|
|
|
],
|
2020-07-02 09:01:55 +00:00
|
|
|
"styles": [
|
|
|
|
"src/app/styles/core.scss",
|
|
|
|
{
|
|
|
|
"input": "src/app/styles/themes/light.scss",
|
|
|
|
"bundleName": "themes/light",
|
2021-01-19 08:17:15 +00:00
|
|
|
"inject": false
|
2020-07-02 09:01:55 +00:00
|
|
|
}
|
|
|
|
],
|
2019-01-16 17:29:08 +00:00
|
|
|
"scripts": ["./node_modules/keycloak-js/dist/keycloak.js"]
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.prod.ts"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"namedChunks": false,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
2020-04-09 09:53:00 +00:00
|
|
|
"buildOptimizer": true,
|
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "initial",
|
|
|
|
"maximumWarning": "2mb",
|
2020-10-09 11:28:40 +00:00
|
|
|
"maximumError": "7mb"
|
2020-04-09 09:53:00 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb",
|
|
|
|
"maximumError": "10kb"
|
|
|
|
}
|
|
|
|
]
|
2019-01-16 17:29:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"serve": {
|
|
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "control-center:build"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"browserTarget": "control-center:build:production"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extract-i18n": {
|
|
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "control-center:build"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
|
|
"options": {
|
|
|
|
"main": "src/test.ts",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
2020-04-09 09:53:00 +00:00
|
|
|
"tsConfig": "tsconfig.spec.json",
|
|
|
|
"karmaConfig": "karma.conf.js",
|
|
|
|
"assets": ["src/favicon.ico", "src/assets"],
|
|
|
|
"styles": ["src/styles.scss"],
|
|
|
|
"scripts": []
|
2019-01-16 17:29:08 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
2021-01-19 08:17:15 +00:00
|
|
|
"builder": "@angular-eslint/builder:lint",
|
2019-01-16 17:29:08 +00:00
|
|
|
"options": {
|
2021-01-19 08:17:15 +00:00
|
|
|
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
|
2019-01-16 17:29:08 +00:00
|
|
|
}
|
2020-04-09 09:53:00 +00:00
|
|
|
},
|
2019-01-16 17:29:08 +00:00
|
|
|
"e2e": {
|
|
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
|
|
"options": {
|
|
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
|
|
"devServerTarget": "control-center:serve"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"devServerTarget": "control-center:serve:production"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-08-02 13:41:30 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2020-04-09 09:53:00 +00:00
|
|
|
"defaultProject": "control-center",
|
|
|
|
"cli": {
|
|
|
|
"analytics": false
|
|
|
|
}
|
2019-01-16 17:29:08 +00:00
|
|
|
}
|