mirror of
https://github.com/clearml/clearml-web
synced 2025-01-30 22:17:22 +00:00
946d6ec9ae
Co-authored-by: shallegro <shay@allego.ai>
362 lines
12 KiB
JSON
362 lines
12 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"trains-webapp": {
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:application",
|
|
"options": {
|
|
"preserveSymlinks": true,
|
|
"outputPath": {
|
|
"base": "build"
|
|
},
|
|
"index": "src/index.html",
|
|
"polyfills": [
|
|
"zone.js"
|
|
],
|
|
"tsConfig": "tsconfig.app.json",
|
|
"inlineStyleLanguage": "scss",
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": [
|
|
"",
|
|
"src/app/webapp-common/shared/ui-components/styles/",
|
|
"src/app/webapp-common/styles/",
|
|
"."
|
|
]
|
|
},
|
|
"assets": [
|
|
"src/assets",
|
|
"src/favicon.ico",
|
|
"src/env.js",
|
|
"src/404.html",
|
|
"src/manifest.webmanifest",
|
|
"src/app/webapp-common/assets",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/ace-builds/src-min",
|
|
"output": "./assets/ace-builds/"
|
|
}
|
|
],
|
|
"styles": [
|
|
"node_modules/ngx-markdown-editor/assets/highlight.js/agate.min.css",
|
|
{
|
|
"bundleName": "global-styles",
|
|
"inject": true,
|
|
"input": "src/app/webapp-common/styles/style.scss"
|
|
}
|
|
],
|
|
"scripts": [
|
|
"node_modules/ngx-markdown-editor/assets/highlight.js/highlight.min.js"
|
|
],
|
|
"allowedCommonJsDependencies": [
|
|
"ansi-to-html",
|
|
"has-ansi",
|
|
"fabric/dist/fabric.min",
|
|
"entities",
|
|
"string-to-color",
|
|
"fast-xml-parser",
|
|
"url",
|
|
"@aws-crypto/sha256-browser",
|
|
"@aws-crypto/sha1-browser",
|
|
"@aws-crypto/crc32",
|
|
"@aws-crypto/crc32c",
|
|
"bowser",
|
|
"@smithy/util-defaults-mode-browser",
|
|
"filesize/lib/filesize.es6",
|
|
"hex-rgb",
|
|
"ace-builds",
|
|
"localforage",
|
|
"dom-to-image",
|
|
"hocon-parser",
|
|
"taira",
|
|
"base64",
|
|
"base-64",
|
|
"export-to-csv",
|
|
"dompurify",
|
|
"hammerjs"
|
|
],
|
|
"extractLicenses": false,
|
|
"sourceMap": true,
|
|
"optimization": false,
|
|
"namedChunks": true,
|
|
"browser": "src/main.ts"
|
|
},
|
|
"configurations": {
|
|
"appdev": {
|
|
"budgets": [
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.dev.ts"
|
|
}
|
|
]
|
|
},
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
},
|
|
{
|
|
"replace": "src/app/build-specifics/index.ts",
|
|
"with": "src/app/build-specifics/index.prod.ts"
|
|
}
|
|
],
|
|
"serviceWorker": false
|
|
}
|
|
},
|
|
"defaultConfiguration": ""
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"proxyConfig": "./proxy.config.mjs",
|
|
"liveReload": false,
|
|
"port": 4300,
|
|
"buildTarget": "trains-webapp:build"
|
|
},
|
|
"configurations": {
|
|
"appdev": {
|
|
"buildTarget": "trains-webapp:build:appdev"
|
|
},
|
|
"staging": {
|
|
"buildTarget": "trains-webapp:build:demo"
|
|
},
|
|
"production": {
|
|
"buildTarget": "trains-webapp:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"buildTarget": "trains-webapp:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "src/test.ts",
|
|
"karmaConfig": "./karma.conf.js",
|
|
"polyfills": [
|
|
"zone.js"
|
|
],
|
|
"tsConfig": "./tsconfig.spec.json",
|
|
"styles": [
|
|
"src/styles.scss"
|
|
],
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": [
|
|
"",
|
|
"src/app/webapp-common/shared/ui-components/styles/"
|
|
]
|
|
},
|
|
"assets": [
|
|
"src/assets",
|
|
"src/favicon.ico",
|
|
"src/version.json",
|
|
"src/manifest.webmanifest",
|
|
"src/app/webapp-common/assets"
|
|
]
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-eslint/builder:lint",
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"src/**/*.ts",
|
|
"src/**/*.html"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"report-widgets": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "src/app/webapp-common/clearml-applications/report-widgets",
|
|
"sourceRoot": "src/app/webapp-common/clearml-applications/report-widgets/src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:application",
|
|
"options": {
|
|
"preserveSymlinks": true,
|
|
"outputPath": {
|
|
"base": "dist/report-widgets"
|
|
},
|
|
"polyfills": [
|
|
"zone.js"
|
|
],
|
|
"baseHref": "",
|
|
"index": "src/app/webapp-common/clearml-applications/report-widgets/src/index.html",
|
|
"tsConfig": "src/app/webapp-common/clearml-applications/report-widgets/tsconfig.app.json",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": [
|
|
"src/app/webapp-common/clearml-applications/report-widgets/src/favicon.ico",
|
|
"src/app/webapp-common/clearml-applications/report-widgets/src/assets",
|
|
"src/app/webapp-common/clearml-applications/report-widgets/src/app/webapp-common/assets",
|
|
"src/app/webapp-common/clearml-applications/report-widgets/src/app/webapp-common/assets/fonts/trains.ttf"
|
|
],
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": [
|
|
"",
|
|
"src/app/webapp-common/styles/",
|
|
"src/app/webapp-common/shared/ui-components/styles/"
|
|
]
|
|
},
|
|
"styles": [
|
|
"src/app/webapp-common/clearml-applications/report-widgets/src/app/styles/styles.scss",
|
|
{
|
|
"input": "src/app/webapp-common/assets/fonts/trains-icons.scss",
|
|
"bundleName": "trains-icons",
|
|
"inject": false
|
|
}
|
|
],
|
|
"scripts": [],
|
|
"allowedCommonJsDependencies": [
|
|
"fast-xml-parser",
|
|
"@aws-crypto/sha1-browser",
|
|
"@aws-crypto/sha256-browser",
|
|
"@aws-crypto/crc32",
|
|
"@aws-crypto/crc32c",
|
|
"bowser",
|
|
"hammerjs",
|
|
"dom-to-image",
|
|
"dompurify",
|
|
"string-to-color",
|
|
"taira",
|
|
"url"
|
|
],
|
|
"browser": "src/app/webapp-common/clearml-applications/report-widgets/src/main.ts"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "1mb",
|
|
"maximumError": "2mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "2kb",
|
|
"maximumError": "5kb"
|
|
}
|
|
],
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/app/webapp-common/clearml-applications/report-widgets/src/environments/environment.ts",
|
|
"with": "src/app/webapp-common/clearml-applications/report-widgets/src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"outputHashing": "all"
|
|
},
|
|
"development": {
|
|
"optimization": false,
|
|
"extractLicenses": false,
|
|
"sourceMap": true,
|
|
"namedChunks": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"configurations": {
|
|
"production": {
|
|
"headers": {
|
|
"Content-Security-Policy": "frame-ancestors *"
|
|
},
|
|
"buildTarget": "report-widgets:build:production"
|
|
},
|
|
"development": {
|
|
"buildTarget": "report-widgets:build:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"buildTarget": "report-widgets:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "src/app/webapp-common/clearml-applications/report-widgets/src/test.ts",
|
|
"polyfills": [
|
|
"zone.js",
|
|
"zone.js/testing"
|
|
],
|
|
"tsConfig": "src/app/webapp-common/clearml-applications/report-widgets/tsconfig.spec.json",
|
|
"karmaConfig": "src/app/webapp-common/clearml-applications/report-widgets/karma.conf.js",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": [
|
|
"src/app/webapp-common/clearml-applications/report-widgets/src/favicon.ico",
|
|
"src/app/webapp-common/clearml-applications/report-widgets/src/assets",
|
|
"src/app/webapp-common/clearml-applications/report-widgets/src/app/webapp-common/assets"
|
|
],
|
|
"styles": [
|
|
"src/app/webapp-common/clearml-applications/report-widgets/src/styles.scss"
|
|
],
|
|
"scripts": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"prefix": "sm",
|
|
"style": "scss"
|
|
},
|
|
"al-schematics:component": {
|
|
"prefix": "sm",
|
|
"styleext": "scss"
|
|
},
|
|
"al-schematics:directive": {
|
|
"prefix": "sm"
|
|
}
|
|
},
|
|
"cli": {
|
|
"analytics": false,
|
|
"schematicCollections": [
|
|
"@angular-eslint/schematics",
|
|
"@ngrx/schematics",
|
|
"ngxtension"
|
|
]
|
|
}
|
|
}
|