Files
psp_panel/angular.json
T
2026-05-11 15:41:58 +03:30

280 lines
12 KiB
JSON

{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"cli": {
"analytics": false
},
"newProjectRoot": "projects",
"projects": {
"pos.client": {
"architect": {
"build": {
"builder": "@angular/build:application",
"configurations": {
"default": {
"assets": [
{
"glob": "**/*",
"input": "public-default"
}
],
"budgets": [
{
"maximumError": "3MB",
"maximumWarning": "2MB",
"type": "initial"
},
{
"maximumError": "8kB",
"maximumWarning": "4kB",
"type": "anyComponentStyle"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.default.ts"
},
{
"replace": "src/app.routes.ts",
"with": "src/tenants/default/app.routes.ts"
},
{
"replace": "src/app/branding/branding.config.ts",
"with": "src/tenants/default/branding.config.ts"
}
],
"outputHashing": "all",
"outputPath": "dist/default",
"serviceWorker": "ngsw-config.json"
},
"development": {
"extractLicenses": false,
"optimization": false,
"sourceMap": true
},
"production": {
"budgets": [
{
"maximumError": "2.5MB",
"maximumWarning": "1.5MB",
"type": "initial"
},
{
"maximumError": "6kB",
"maximumWarning": "3kB",
"type": "anyComponentStyle"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
},
{
"replace": "src/app.routes.ts",
"with": "src/tenants/default/app.routes.ts"
},
{
"replace": "src/app/branding/branding.config.ts",
"with": "src/tenants/default/branding.config.ts"
}
],
"outputHashing": "all",
"outputPath": "dist/production",
"serviceWorker": "ngsw-config.json"
},
"staging": {
"extractLicenses": true,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.staging.ts"
}
],
"optimization": true,
"outputHashing": "all",
"serviceWorker": "ngsw-config.json",
"sourceMap": false
},
"tis": {
"assets": [
{
"glob": "**/*",
"input": "public-tis"
}
],
"budgets": [
{
"maximumError": "3MB",
"maximumWarning": "2MB",
"type": "initial"
},
{
"maximumError": "8kB",
"maximumWarning": "4kB",
"type": "anyComponentStyle"
}
],
"fileReplacements": [
{
"replace": "src/config.ts",
"with": "src/tenants/tis/config.ts"
},
{
"replace": "src/assets/images/brandingAssets.ts",
"with": "src/tenants/tis/brandingAssets.ts"
},
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.tis.ts"
},
{
"replace": "src/app.routes.ts",
"with": "src/tenants/tis/app.routes.ts"
},
{
"replace": "src/app/branding/branding.config.ts",
"with": "src/tenants/tis/branding.config.ts"
}
],
"outputHashing": "all",
"outputPath": "dist/tis",
"serviceWorker": "ngsw-config.json"
},
"tis-development": {
"assets": [
{
"glob": "**/*",
"input": "public-tis"
}
],
"budgets": [
{
"maximumError": "2.5MB",
"maximumWarning": "1.5MB",
"type": "initial"
},
{
"maximumError": "6kB",
"maximumWarning": "3kB",
"type": "anyComponentStyle"
}
],
"extractLicenses": false,
"fileReplacements": [
{
"replace": "src/assets/images/brandingAssets.ts",
"with": "src/tenants/tis/brandingAssets.ts"
},
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.tis.ts"
},
{
"replace": "src/app.routes.ts",
"with": "src/tenants/tis/app.routes.ts"
},
{
"replace": "src/app/branding/branding.config.ts",
"with": "src/tenants/tis/branding.config.ts"
}
],
"optimization": false,
"outputHashing": "all",
"outputPath": "dist/tis",
"serviceWorker": "ngsw-config.json",
"sourceMap": true
}
},
"defaultConfiguration": "production",
"options": {
"allowedCommonJsDependencies": [
"dayjs",
"dayjs/locale/fa",
"dayjs/plugin/relativeTime",
"flatpickr-wrap/dist/l10n/fa.js"
],
"assets": [
{
"glob": "**/*",
"input": "public"
}
],
"browser": "src/main.ts",
"fileReplacements": [],
"inlineStyleLanguage": "scss",
"loader": {
".jpg": "file",
".png": "file",
".svg": "text",
".webp": "file"
},
"styles": [
"src/assets/styles.scss"
],
"tsConfig": "tsconfig.app.json"
}
},
"extract-i18n": {
"builder": "@angular/build:extract-i18n"
},
"serve": {
"builder": "@angular/build:dev-server",
"configurations": {
"development": {
"buildTarget": "pos.client:build:development"
},
"production": {
"buildTarget": "pos.client:build:production"
},
"staging": {
"buildTarget": "pos.client:build:staging"
},
"tis": {
"buildTarget": "pos.client:build:tis-development"
}
},
"defaultConfiguration": "development",
"options": {
"port": 5000
}
},
"test": {
"builder": "@angular/build:karma",
"options": {
"assets": [
{
"glob": "**/*",
"input": "public"
}
],
"inlineStyleLanguage": "scss",
"karmaConfig": "karma.conf.js",
"styles": [
"src/assets/styles.scss"
],
"tsConfig": "tsconfig.spec.json"
}
}
},
"prefix": "app",
"projectType": "application",
"root": "",
"schematics": {
"@schematics/angular:component": {
"standalone": false,
"style": "scss"
},
"@schematics/angular:directive": {
"standalone": false
},
"@schematics/angular:pipe": {
"standalone": false
}
},
"sourceRoot": "src"
}
},
"version": 1
}