552 lines
31 KiB
JSON
552 lines
31 KiB
JSON
{
|
|
"name": "x-saherelm-ai",
|
|
"version": "1.0.0",
|
|
"description": "SaherElm AI Application",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"z01": "|---------------|",
|
|
"z02": "| Common |",
|
|
"z03": "|---------------|",
|
|
"true": "",
|
|
"loginRegistry": "npm login --registry https://npm.saherelmhub.ir/",
|
|
"addUserRegistry": "npm adduser --registry https://npm.saherelmhub.ir/",
|
|
"z04": "|---------------|",
|
|
"z05": "| /Common |",
|
|
"z06": "|---------------|",
|
|
"z1": "|---------------|",
|
|
"z2": "| Git |",
|
|
"z3": "|---------------|",
|
|
"gitStatuses": "git status && git submodule foreach git status",
|
|
"gitPulls": "git pull origin master && git submodule foreach git pull origin master",
|
|
"gitPushs": "git push origin master && git submodule foreach git push origin master",
|
|
"gitCheckoutMaster": "git checkout master && git submodule foreach git checkout master",
|
|
"z4": "|---------------|",
|
|
"z5": "| /Git |",
|
|
"z6": "|---------------|",
|
|
"q1": "|---------------|",
|
|
"q2": "| Scripts |",
|
|
"q3": "|---------------|",
|
|
"moduleHandler": "node ./Documents/Scripts/nugetModuleHandler.js",
|
|
"do": "npm run moduleHandler **do",
|
|
"doClean": "npm run do clean",
|
|
"doRestore": "npm run do restore",
|
|
"doBuild": "npm run do build",
|
|
"doRmBin": "npm run do rmBin",
|
|
"doClearPacked": "npm run do clearPacked",
|
|
"doPack": "npm run do pack",
|
|
"doCp": "npm run do cp",
|
|
"doRePack": "npm run do repack",
|
|
"q4": "|---------------|",
|
|
"q5": "| /Scripts |",
|
|
"q6": "|---------------|",
|
|
"a1": "|---------------|",
|
|
"a2": "| DotNet |",
|
|
"a3": "|---------------|",
|
|
"dotClean": "dotnet clean",
|
|
"dotBuild": "dotnet build",
|
|
"dotRestore": "dotnet restore",
|
|
"dotRebuild": "dotnet clean && dotnet build",
|
|
"dotTrustDevCert": "dotnet dev-certs https --trust",
|
|
"a4": "|---------------|",
|
|
"a5": "| /DotNet |",
|
|
"a6": "|---------------|",
|
|
"g1": "|---------------|",
|
|
"g2": "| Nuget |",
|
|
"g3": "|---------------|",
|
|
"lsNugetTemplates": "dotnet new --list",
|
|
"lsNugetPackages": "shx ls ~/.nuget/packages/",
|
|
"listNugetLocals": "dotnet nuget locals all -l",
|
|
"clearNugetTemp": "dotnet nuget locals temp --clear",
|
|
"clearNugetLocals": "dotnet nuget locals all --clear",
|
|
"clearNugetHttpCache": "dotnet nuget locals http-cache --clear",
|
|
"prepareNugets": "npm run clearNugetTempHttpCache && npm run rmDashboardNugets",
|
|
"clearNugetTempHttpCache": "npm run clearNugetTemp && npm run clearNugetHttpCache",
|
|
"rmDashboardModels": "shx --silent rm -rf ~/.nuget/packages/xdashboard.xmodels",
|
|
"rmDashboardCommons": "shx --silent rm -rf ~/.nuget/packages/xdashboard.xcommons",
|
|
"rmDashboardExceptions": "shx --silent rm -rf ~/.nuget/packages/xdashboard.xexceptions",
|
|
"rmDashboardHttpService": "shx --silent rm -rf ~/.nuget/packages/xdashboard.xhttpservice",
|
|
"rmDashboardPushService": "shx --silent rm -rf ~/.nuget/packages/xdashboard.xpushservice",
|
|
"rmDashboardDataService": "shx --silent rm -rf ~/.nuget/packages/xdashboard.xdataservice",
|
|
"rmDashboardEventService": "shx --silent rm -rf ~/.nuget/packages/xdashboard.xeventservice",
|
|
"rmDashboardTemplates": "shx --silent rm -rf ~/.nuget/packages/xdashboard.aspnetcore.templates",
|
|
"rmDashboardMessageService": "shx --silent rm -rf ~/.nuget/packages/xdashboard.xmessageservice",
|
|
"rmDashboardStorageService": "shx --silent rm -rf ~/.nuget/packages/xdashboard.xstorageservice",
|
|
"rmDashboardIdentityModels": "shx --silent rm -rf ~/.nuget/packages/xdashboard.xidentitymodels",
|
|
"rmDashboardIdentityService": "shx --silent rm -rf ~/.nuget/packages/xdashboard.xidentityservice",
|
|
"rmDashboardStringService": "shx --silent rm -rf ~/.nuget/packages/xdashboard.xstringservice",
|
|
"rmDashboardWebinarService": "shx --silent rm -rf ~/.nuget/packages/xdashboard.xwebinarservice",
|
|
"rmDashboardInstagramService": "shx --silent rm -rf ~/.nuget/packages/xdashboard.xinstagramservice",
|
|
"rmDashboardNugets": "npm run rmDashboardTemplates && npm run rmDashboardCommons && npm run rmDashboardDataService && npm run rmDashboardEventService && npm run rmDashboardExceptions && npm run rmDashboardHttpService && npm run rmDashboardIdentityModels && npm run rmDashboardIdentityService && npm run rmDashboardInstagramService && npm run rmDashboardMessageService && npm run rmDashboardModels && npm run rmDashboardPushService && npm run rmDashboardStorageService && npm run rmDashboardStringService && npm run rmDashboardWebinarService",
|
|
"g4": "|---------------|",
|
|
"g5": "| /Nuget |",
|
|
"g6": "|---------------|",
|
|
"zz1": "|---------------|",
|
|
"zz2": "| NugetModules |",
|
|
"zz3": "|---------------|",
|
|
"zza1": "|---------------|",
|
|
"zza2": "| xExceptions |",
|
|
"zza3": "|---------------|",
|
|
"cleanExceptions": "npm run doClean xExceptions",
|
|
"restoreExceptions": "npm run doRestore xExceptions",
|
|
"buildExceptions": "npm run doBuild xExceptions",
|
|
"packExceptions": "npm run doPack xExceptions",
|
|
"cpExceptions": "npm run doCp xExceptions",
|
|
"repackExceptions": "npm run doRePack xExceptions",
|
|
"zza4": "|---------------|",
|
|
"zza5": "| /xExceptions |",
|
|
"zza6": "|---------------|",
|
|
"zzb1": "|---------------|",
|
|
"zzb2": "| xCommons |",
|
|
"zzb3": "|---------------|",
|
|
"cleanCommons": "npm run doClean xCommons",
|
|
"restoreCommons": "npm run doRestore xCommons",
|
|
"buildCommons": "npm run doBuild xCommons",
|
|
"packCommons": "npm run doPack xCommons",
|
|
"cpCommons": "npm run doCp xCommons",
|
|
"repackCommons": "npm run doRePack xCommons",
|
|
"zzb4": "|---------------|",
|
|
"zzb5": "| /xCommons |",
|
|
"zzb6": "|---------------|",
|
|
"zzc1": "|---------------|",
|
|
"zzc2": "| xModels |",
|
|
"zzc3": "|---------------|",
|
|
"cleanModels": "npm run doClean xModels",
|
|
"restoreModels": "npm run doRestore xModels",
|
|
"buildModels": "npm run doBuild xModels",
|
|
"packModels": "npm run doPack xModels",
|
|
"cpModels": "npm run doCp xModels",
|
|
"repackModels": "npm run doRePack xModels",
|
|
"zzc4": "|---------------|",
|
|
"zzc5": "| /xModels |",
|
|
"zzc6": "|---------------|",
|
|
"zzd1": "|------------------|",
|
|
"zzd2": "| xMessageService |",
|
|
"zzd3": "|------------------|",
|
|
"cleanMessageService": "npm run doClean xMessageService",
|
|
"restoreMessageService": "npm run doRestore xMessageService",
|
|
"buildMessageService": "npm run doBuild xMessageService",
|
|
"packMessageService": "npm run doPack xMessageService",
|
|
"cpMessageService": "npm run doCp xMessageService",
|
|
"repackMessageService": "npm run doRePack xMessageService",
|
|
"zzd4": "|------------------|",
|
|
"zzd5": "| /xMessageService |",
|
|
"zzd6": "|------------------|",
|
|
"zze1": "|------------------|",
|
|
"zze2": "| xStorageService |",
|
|
"zze3": "|------------------|",
|
|
"cleanStorageService": "npm run doClean xStorageService",
|
|
"restoreStorageService": "npm run doRestore xStorageService",
|
|
"buildStorageService": "npm run doBuild xStorageService",
|
|
"packStorageService": "npm run doPack xStorageService",
|
|
"cpStorageService": "npm run doCp xStorageService",
|
|
"repackStorageService": "npm run doRePack xStorageService",
|
|
"zze4": "|------------------|",
|
|
"zze5": "| /xStorageService |",
|
|
"zze6": "|------------------|",
|
|
"zzf1": "|---------------|",
|
|
"zzf2": "| xDataService |",
|
|
"zzf3": "|---------------|",
|
|
"cleanDataService": "npm run doClean xDataService",
|
|
"restoreDataService": "npm run doRestore xDataService",
|
|
"buildDataService": "npm run doBuild xDataService",
|
|
"packDataService": "npm run doPack xDataService",
|
|
"cpDataService": "npm run doCp xDataService",
|
|
"repackDataService": "npm run doRePack xDataService",
|
|
"zzf4": "|---------------|",
|
|
"zzf5": "| /xDataService |",
|
|
"zzf6": "|---------------|",
|
|
"zzg1": "|------------------|",
|
|
"zzg2": "| xIdentityModels |",
|
|
"zzg3": "|------------------|",
|
|
"cleanIdentityModels": "npm run doClean xIdentityModels",
|
|
"restoreIdentityModels": "npm run doRestore xIdentityModels",
|
|
"buildIdentityModels": "npm run doBuild xIdentityModels",
|
|
"packIdentityModels": "npm run doPack xIdentityModels",
|
|
"cpIdentityModels": "npm run doCp xIdentityModels",
|
|
"repackIdentityModels": "npm run doRePack xIdentityModels",
|
|
"zzg4": "|------------------|",
|
|
"zzg5": "| /xIdentityModels |",
|
|
"zzg6": "|------------------|",
|
|
"zzh1": "|---------------|",
|
|
"zzh2": "| xHttpService |",
|
|
"zzh3": "|---------------|",
|
|
"cleanHttpService": "npm run doClean xHttpService",
|
|
"restoreHttpService": "npm run doRestore xHttpService",
|
|
"buildHttpService": "npm run doBuild xHttpService",
|
|
"packHttpService": "npm run doPack xHttpService",
|
|
"cpHttpService": "npm run doCp xHttpService",
|
|
"repackHttpService": "npm run doRePack xHttpService",
|
|
"zzh4": "|---------------|",
|
|
"zzh5": "| /xHttpService |",
|
|
"zzh6": "|---------------|",
|
|
"zzi1": "|-------------------|",
|
|
"zzi2": "| xIdentityService |",
|
|
"zzi3": "|-------------------|",
|
|
"cleanIdentityService": "npm run doClean xIdentityService",
|
|
"restoreIdentityService": "npm run doRestore xIdentityService",
|
|
"buildIdentityService": "npm run doBuild xIdentityService",
|
|
"packIdentityService": "npm run doPack xIdentityService",
|
|
"cpIdentityService": "npm run doCp xIdentityService",
|
|
"repackIdentityService": "npm run doRePack xIdentityService",
|
|
"zzi4": "|-------------------|",
|
|
"zzi5": "| /xIdentityService |",
|
|
"zzi6": "|-------------------|",
|
|
"zzj1": "|---------------|",
|
|
"zzj2": "| xPushService |",
|
|
"zzj3": "|---------------|",
|
|
"cleanPushService": "npm run doClean xPushService",
|
|
"restorePushService": "npm run doRestore xPushService",
|
|
"buildPushService": "npm run doBuild xPushService",
|
|
"packPushService": "npm run doPack xPushService",
|
|
"cpPushService": "npm run doCp xPushService",
|
|
"repackPushService": "npm run doRePack xPushService",
|
|
"zzj4": "|---------------|",
|
|
"zzj5": "| /xPushService |",
|
|
"zzj6": "|---------------|",
|
|
"zzk1": "|----------------|",
|
|
"zzk2": "| xEventService |",
|
|
"zzk3": "|----------------|",
|
|
"cleanEventService": "npm run doClean xEventService",
|
|
"restoreEventService": "npm run doRestore xEventService",
|
|
"buildEventService": "npm run doBuild xEventService",
|
|
"packEventService": "npm run doPack xEventService",
|
|
"cpEventService": "npm run doCp xEventService",
|
|
"repackEventService": "npm run doRePack xEventService",
|
|
"zzk4": "|----------------|",
|
|
"zzk5": "| /xEventService |",
|
|
"zzk6": "|----------------|",
|
|
"zzl1": "|-----------------|",
|
|
"zzl2": "| xStringService |",
|
|
"zzl3": "|-----------------|",
|
|
"cleanStringService": "npm run doClean xStringService",
|
|
"restoreStringService": "npm run doRestore xStringService",
|
|
"buildStringService": "npm run doBuild xStringService",
|
|
"packStringService": "npm run doPack xStringService",
|
|
"cpStringService": "npm run doCp xStringService",
|
|
"repackStringService": "npm run doRePack xStringService",
|
|
"zzl4": "|-----------------|",
|
|
"zzl5": "| /xStringService |",
|
|
"zzl6": "|-----------------|",
|
|
"zzm1": "|-----------------------------|",
|
|
"zzm2": "| xTermsAndConditionsService |",
|
|
"zzm3": "|-----------------------------|",
|
|
"cleanTermsAndConditionsService": "npm run doClean xTermsAndConditionsService",
|
|
"restoreTermsAndConditionsService": "npm run doRestore xTermsAndConditionsService",
|
|
"buildTermsAndConditionsService": "npm run doBuild xTermsAndConditionsService",
|
|
"packTermsAndConditionsService": "npm run doPack xTermsAndConditionsService",
|
|
"cpTermsAndConditionsService": "npm run doCp xTermsAndConditionsService",
|
|
"repackTermsAndConditionsService": "npm run doRePack xTermsAndConditionsService",
|
|
"zzm4": "|-----------------------------|",
|
|
"zzm5": "| /xTermsAndConditionsService |",
|
|
"zzm6": "|-----------------------------|",
|
|
"zzn1": "|-------------------|",
|
|
"zzn2": "| xCategoryService |",
|
|
"zzn3": "|-------------------|",
|
|
"cleanCategoryService": "npm run doClean xCategoryService",
|
|
"restoreCategoryService": "npm run doRestore xCategoryService",
|
|
"buildCategoryService": "npm run doBuild xCategoryService",
|
|
"packCategoryService": "npm run doPack xCategoryService",
|
|
"cpCategoryService": "npm run doCp xCategoryService",
|
|
"repackCategoryService": "npm run doRePack xCategoryService",
|
|
"zzn4": "|-------------------|",
|
|
"zzn5": "| /xCategoryService |",
|
|
"zzn6": "|-------------------|",
|
|
"zzo1": "|--------------|",
|
|
"zzo2": "| xTagService |",
|
|
"zzo3": "|--------------|",
|
|
"cleanTagService": "npm run doClean xTagService",
|
|
"restoreTagService": "npm run doRestore xTagService",
|
|
"buildTagService": "npm run doBuild xTagService",
|
|
"packTagService": "npm run doPack xTagService",
|
|
"cpTagService": "npm run doCp xTagService",
|
|
"repackTagService": "npm run doRePack xTagService",
|
|
"zzo4": "|--------------|",
|
|
"zzo5": "| /xTagService |",
|
|
"zzo6": "|--------------|",
|
|
"zzp1": "|---------------|",
|
|
"zzp2": "| xFileService |",
|
|
"zzp3": "|---------------|",
|
|
"cleanFileService": "npm run doClean xFileService",
|
|
"restoreFileService": "npm run doRestore xFileService",
|
|
"buildFileService": "npm run doBuild xFileService",
|
|
"packFileService": "npm run doPack xFileService",
|
|
"cpFileService": "npm run doCp xFileService",
|
|
"repackFileService": "npm run doRePack xFileService",
|
|
"zzp4": "|---------------|",
|
|
"zzp5": "| /xFileService |",
|
|
"zzp6": "|---------------|",
|
|
"zzq1": "|------------------|",
|
|
"zzq2": "| xWebinarService |",
|
|
"zzq3": "|------------------|",
|
|
"cleanWebinarService": "npm run doClean xWebinarService",
|
|
"restoreWebinarService": "npm run doRestore xWebinarService",
|
|
"buildWebinarService": "npm run doBuild xWebinarService",
|
|
"packWebinarService": "npm run doPack xWebinarService",
|
|
"cpWebinarService": "npm run doCp xWebinarService",
|
|
"repackWebinarService": "npm run doRePack xWebinarService",
|
|
"zzq4": "|------------------|",
|
|
"zzq5": "| /xWebinarService |",
|
|
"zzq6": "|------------------|",
|
|
"zzr1": "|-------------|",
|
|
"zzr2": "| xAiModels |",
|
|
"zzr3": "|-------------|",
|
|
"cleanAiModels": "npm run doClean xAiModels",
|
|
"restoreAiModels": "npm run doRestore xAiModels",
|
|
"buildAiModels": "npm run doBuild xAiModels",
|
|
"packAiModels": "npm run doPack xAiModels",
|
|
"cpAiModels": "npm run doCp xAiModels",
|
|
"repackAiModels": "npm run doRePack xAiModels",
|
|
"zzr4": "|-------------|",
|
|
"zzr5": "| /xAiModels |",
|
|
"zzr6": "|-------------|",
|
|
"zzs1": "|-------------|",
|
|
"zzs2": "| xAiService |",
|
|
"zzs3": "|-------------|",
|
|
"cleanAiService": "npm run doClean xAiService",
|
|
"restoreAiService": "npm run doRestore xAiService",
|
|
"buildAiService": "npm run doBuild xAiService",
|
|
"packAiService": "npm run doPack xAiService",
|
|
"cpAiService": "npm run doCp xAiService",
|
|
"repackAiService": "npm run doRePack xAiService",
|
|
"zzs4": "|-------------|",
|
|
"zzs5": "| /xAiService |",
|
|
"zzs6": "|-------------|",
|
|
"zz4": "|---------------|",
|
|
"zz5": "| /NugetModules |",
|
|
"zz6": "|---------------|",
|
|
"xx1": "|--------------|",
|
|
"xx2": "| NpmModules |",
|
|
"xx3": "|--------------|",
|
|
"xxa1": "|-----------------|",
|
|
"xxa2": "| xFrameworkCore |",
|
|
"xxa3": "|-----------------|",
|
|
"buildFrameworkCore": "cd ./Modules/xFrameworkCoreHolder && npm run buildModule",
|
|
"repackFrameworkCore": "cd ./Modules/xFrameworkCoreHolder && npm run publishModule",
|
|
"xxa4": "|-----------------|",
|
|
"xxa5": "| /xFrameworkCore |",
|
|
"xxa6": "|-----------------|",
|
|
"xxb1": "|---------------------|",
|
|
"xxb2": "| xFrameworkServices |",
|
|
"xxb3": "|---------------------|",
|
|
"buildFrameworkServices": "cd ./Modules/xFrameworkServicesHolder && npm run buildModule",
|
|
"repackFrameworkServices": "cd ./Modules/xFrameworkServicesHolder && npm run publishModule",
|
|
"xxb4": "|---------------------|",
|
|
"xxb5": "| /xFrameworkServices |",
|
|
"xxb6": "|---------------------|",
|
|
"xxc1": "|-----------------------|",
|
|
"xxc2": "| xFrameworkComponents |",
|
|
"xxc3": "|-----------------------|",
|
|
"buildFrameworkComponents": "cd ./Modules/xFrameworkComponentsHolder && npm run buildModule",
|
|
"repackFrameworkComponents": "cd ./Modules/xFrameworkComponentsHolder && npm run publishModule",
|
|
"xxc4": "|-----------------------|",
|
|
"xxc5": "| /xFrameworkComponents |",
|
|
"xxc6": "|-----------------------|",
|
|
"xxd1": "|------------------------|",
|
|
"xxd2": "| xFrameworkPushService |",
|
|
"xxd3": "|------------------------|",
|
|
"buildFrameworkPushService": "cd ./Modules/xFrameworkPushServiceHolder && npm run buildModule",
|
|
"repackFrameworkPushService": "cd ./Modules/xFrameworkPushServiceHolder && npm run publishModule",
|
|
"xxd4": "|------------------------|",
|
|
"xxd5": "| /xFrameworkPushService |",
|
|
"xxd6": "|------------------------|",
|
|
"xxe1": "|----------------------------|",
|
|
"xxe2": "| xFrameworkIdentityService |",
|
|
"xxe3": "|----------------------------|",
|
|
"buildFrameworkIdentityService": "cd ./Modules/xFrameworkIdentitySDKHolder && npm run buildModule",
|
|
"repackFrameworkIdentityService": "cd ./Modules/xFrameworkIdentitySDKHolder && npm run publishModule",
|
|
"xxe4": "|----------------------------|",
|
|
"xxe5": "| /xFrameworkIdentityService |",
|
|
"xxe6": "|----------------------------|",
|
|
"xx4": "|--------------|",
|
|
"xx5": "| /NpmModules |",
|
|
"xx6": "|--------------|",
|
|
"b1": "|---------------|",
|
|
"b2": "| Api |",
|
|
"b3": "|---------------|",
|
|
"runApi": "dotnet run --project ./xApi/xApi.csproj",
|
|
"publishApi": "dotnet publish -c Release ./xApi/xApi.csproj",
|
|
"publishApiLinux64": "dotnet publish -c Release -r linux-x64 ./xApi/xApi.csproj",
|
|
"publishApiForAlpineLinux64": "dotnet publish -c Release --self-contained -r linux-musl-x64 ./xApi/xApi.csproj",
|
|
"transferApiToPublish": "shx rm -rf ./Publish/xApi && shx mkdir -p ./Publish/xApi && shx --silent mkdir -p ./Publish/xApi/wwwroot && shx cp -r ./xApi/bin/Release/netcoreapp3.1/linux-musl-x64/publish/. ./Publish/xApi && shx rm ./Publish/xApi/appsettings.Development.json && shx rm -rf ./Publish/xApi/wwroot",
|
|
"transferApiAdditionalsToPublish": "shx cp -r ./Documents/Docker/xApi/. ./Publish/xApi",
|
|
"prepareApiToPublish": "npm run publishApiForAlpineLinux64 && npm run transferApiToPublish && npm run transferApiAdditionalsToPublish",
|
|
"d1": "|---------------|",
|
|
"d2": "| EF |",
|
|
"d3": "|---------------|",
|
|
"updateApiDb": "cd xApi && dotnet ef database update || npm run true",
|
|
"dropApiDb": "cd xApi && dotnet ef database drop --force || npm run true",
|
|
"rmMigrateApi": "cd xApi && shx --silent rm -rf ./Migrations || npm run true",
|
|
"scriptApiDb": "cd xApi && dotnet ef migrations script -o ../Documents/DbScripts/api-script.sql || npm run true",
|
|
"refreshApiDbs": "npm run rmMigrateApi && npm run initialMigrateApi && npm run dropApiDb && npm run updateApiDb",
|
|
"initialMigrateApi": "npm run rmMigrateApi && cd xApi && dotnet ef migrations add InitialMigration || npm run true",
|
|
"transferApiDbToDocker": "shx --silent rm -r ./Documents/Docker/xApi/Db/. && shx cp -r ./xApi/Db/. ./Documents/Docker/xApi/Db && shx --silent rm ./Documents/Docker/xApi/Db/.gitkeep",
|
|
"refreshPublishRequirementsApiDbs": "npm run refreshApiDbs && npm run transferApiDbToDocker",
|
|
"d4": "|---------------|",
|
|
"d5": "| /EF |",
|
|
"d6": "|---------------|",
|
|
"b4": "|---------------|",
|
|
"b5": "| /Api |",
|
|
"b6": "|---------------|",
|
|
"i1": "|---------------|",
|
|
"i2": "| AiApi |",
|
|
"i3": "|---------------|",
|
|
"runAiApi": "dotnet run --project ./xAiApi/xAiApi.csproj",
|
|
"publishAiApi": "dotnet publish -c Release ./xAiApi/xAiApi.csproj",
|
|
"publishAiApiLinux64": "dotnet publish -c Release -r linux-x64 ./xAiApi/xAiApi.csproj",
|
|
"publishAiApiForAlpineLinux64": "dotnet publish -c Release --self-contained -r linux-musl-x64 ./xAiApi/xAiApi.csproj",
|
|
"transferAiApiToPublish": "shx rm -rf ./Publish/xAiApi && shx mkdir -p ./Publish/xAiApi && shx --silent mkdir -p ./Publish/xAiApi/wwwroot && shx cp -r ./xAiApi/bin/Release/netcoreapp3.1/linux-musl-x64/publish/. ./Publish/xAiApi && shx rm ./Publish/xAiApi/appsettings.Development.json && shx rm -rf ./Publish/xAiApi/wwroot",
|
|
"transferAiApiAdditionalsToPublish": "shx cp -r ./Documents/Docker/xAiApi/. ./Publish/xAiApi",
|
|
"prepareAiApiToPublish": "npm run publishAiApiForAlpineLinux64 && npm run transferAiApiToPublish && npm run transferAiApiAdditionalsToPublish",
|
|
"j1": "|---------------|",
|
|
"j2": "| EF |",
|
|
"j3": "|---------------|",
|
|
"updateAiApiDb": "cd xAiApi && dotnet ef database update || npm run true",
|
|
"dropAiApiDb": "cd xAiApi && dotnet ef database drop --force || npm run true",
|
|
"rmMigrateAiApi": "cd xAiApi && shx --silent rm -rf ./Migrations || npm run true",
|
|
"scriptAiApiDb": "cd xAiApi && dotnet ef migrations script -o ../Documents/DbScripts/ai-api-script.sql || npm run true",
|
|
"refreshAiApiDbs": "npm run rmMigrateAiApi && npm run initialMigrateAiApi && npm run dropAiApiDb && npm run updateAiApiDb",
|
|
"initialMigrateAiApi": "npm run rmMigrateAiApi && cd xAiApi && dotnet ef migrations add InitialMigrationAiApi || npm run true",
|
|
"transferAiApiDbToDocker": "shx --silent rm -r ./Documents/Docker/xAiApi/Db/. && shx cp -r ./xAiApi/Db/. ./Documents/Docker/xAiApi/Db && shx --silent rm ./Documents/Docker/xAiApi/Db/.gitkeep",
|
|
"refreshPublishRequirementsAiApiDbs": "npm run refreshAiApiDbs && npm run transferAiApiDbToDocker",
|
|
"j4": "|---------------|",
|
|
"j5": "| /EF |",
|
|
"j6": "|---------------|",
|
|
"i4": "|---------------|",
|
|
"i5": "| /AiApi |",
|
|
"i6": "|---------------|",
|
|
"c1": "|---------------|",
|
|
"c2": "| IDS |",
|
|
"c3": "|---------------|",
|
|
"runIdentity": "dotnet run --project ./xIds/xIds.csproj",
|
|
"publishIdentity": "dotnet publish -c Release ./xIds/xIds.csproj",
|
|
"publishIdentityLinux64": "dotnet publish -c Release -r linux-x64 ./xIds/xIds.csproj",
|
|
"publishIdentityForAlpineLinux64": "dotnet publish -c Release --self-contained -r linux-musl-x64 ./xIds/xIds.csproj",
|
|
"transferIdsToPublish": "shx rm -rf ./Publish/xIds && shx mkdir -p ./Publish/xIds && shx --silent mkdir -p ./Publish/xIds/wwwroot && shx cp -r ./xIds/bin/Release/netcoreapp3.1/linux-musl-x64/publish/. ./Publish/xIds && shx rm ./Publish/xIds/appsettings.Development.json && shx mkdir -p ./Publish/xIds/Db && shx cp -r ./xIds/Db/. ./Publish/xIds/Db && shx rm ./Publish/xIds/Db/.gitkeep && shx rm -rf ./Publish/xIds/wwroot",
|
|
"transferIdsAdditionalsToPublish": "shx cp -r ./Documents/Docker/xIds/. ./Publish/xIds",
|
|
"prepareIdsToPublish": "npm run publishIdentityForAlpineLinux64 && npm run transferIdsToPublish && npm run transferIdsAdditionalsToPublish",
|
|
"e1": "|---------------|",
|
|
"e2": "| EF |",
|
|
"e3": "|---------------|",
|
|
"dbContextListIdentity": "cd xIds && dotnet ef dbcontext list || npm run true",
|
|
"rmMigrateIdentity": "cd xIds && shx --silent rm -rf ./Migrations || npm run true",
|
|
"updateIdentityDbIdentity": "cd xIds && dotnet ef database update -c XIdentityDbContext || npm run true",
|
|
"updateConfigDbIdentity": "cd xIds && dotnet ef database update -c ConfigurationDbContext || npm run true",
|
|
"updateGrantDbIdentity": "cd xIds && dotnet ef database update -c PersistedGrantDbContext || npm run true",
|
|
"dropIdentityDbIdentity": "cd xIds && dotnet ef database drop -c XIdentityDbContext --force || npm run true",
|
|
"dropConfigDbIdentity": "cd xIds && dotnet ef database drop -c ConfigurationDbContext --force || npm run true",
|
|
"dropGrantDbIdentity": "cd xIds && dotnet ef database drop -c PersistedGrantDbContext --force || npm run true",
|
|
"dropIdentityDbs": "npm run dropConfigDbIdentity && npm run dropGrantDbIdentity && npm run dropIdentityDbIdentity",
|
|
"updateIdentityDbs": "npm run updateConfigDbIdentity && npm run updateGrantDbIdentity && npm run updateIdentityDbIdentity",
|
|
"scriptIdentityDbContextIdentity": "cd xIds && dotnet ef migrations script -c XIdentityDbContext -o ./identity-script.sql || npm run true",
|
|
"initialIdentityMigrateIdentity": "cd xIds && dotnet ef migrations add InitialIdentityServerDbContext -c XIdentityDbContext || npm run true",
|
|
"initialConfigMigrateIdentity": "cd xIds && dotnet ef migrations add InitialConfigurationMigration -c ConfigurationDbContext || npm run true",
|
|
"refreshIdentityDbs": "npm run rmMigrateIdentity && npm run initialMigrateIdentityDbs && npm run dropIdentityDbs && npm run updateIdentityDbs",
|
|
"initialGrantMigrateIdentity": "cd xIds && dotnet ef migrations add InitialPersistedGrantMigration -c PersistedGrantDbContext || npm run true",
|
|
"initialMigrateIdentityDbs": "npm run initialConfigMigrateIdentity && npm run initialGrantMigrateIdentity && npm run initialIdentityMigrateIdentity",
|
|
"scriptIdentityDbs": "npm run scriptIdentityDbContextIdentity && npm run scriptConfigurationDbContextIdentity && npm run scriptPersistedGrantsDbContextIdentity",
|
|
"scriptConfigurationDbContextIdentity": "cd xIds && dotnet ef migrations script -c ConfigurationDbContext -o ./identity-configuration-script.sql || npm run true",
|
|
"scriptPersistedGrantsDbContextIdentity": "cd xIds && dotnet ef migrations script -c PersistedGrantDbContext -o ./identity-persisted-grant-script.sql || npm run true",
|
|
"transferIdentityDbToDocker": "shx --silent rm -r ./Documents/Docker/xIds/Db/. && shx cp -r ./xIds/Db/. ./Documents/Docker/xIds/Db && shx --silent rm ./Documents/Docker/xIds/Db/.gitkeep",
|
|
"refreshPublishRequirementsIdentityDbs": "npm run refreshIdentityDbs && npm run transferIdentityDbToDocker",
|
|
"e4": "|---------------|",
|
|
"e5": "| /EF |",
|
|
"e6": "|---------------|",
|
|
"c4": "|---------------|",
|
|
"c5": "| /IDS |",
|
|
"c6": "|---------------|",
|
|
"f1": "|---------------|",
|
|
"f2": "| Client |",
|
|
"f3": "|---------------|",
|
|
"f11": "|---------------|",
|
|
"f12": "| Build |",
|
|
"f13": "|---------------|",
|
|
"buildClient": "cd xClient && npm run build",
|
|
"buildProdClient": "cd xClient && npm run buildProd",
|
|
"buildProdClubClient": "cd xClient && npm run buildProdClub",
|
|
"buildClientElectronWin32": "cd xClient && npm run --force buildElectronWin32",
|
|
"buildClientElectronWin64": "cd xClient && npm run --force buildElectronWin64",
|
|
"buildClientElectronMac64": "cd xClient && npm run --force buildElectronMac64",
|
|
"buildClientElectronLinux64": "cd xClient && npm run --force buildElectronLinux64",
|
|
"f21": "|---------------|",
|
|
"f22": "| /Build |",
|
|
"f23": "|---------------|",
|
|
"f31": "|---------------|",
|
|
"f32": "| Serve |",
|
|
"f33": "|---------------|",
|
|
"serveClient": "cd xClient && npm run serveXFrameworkProject",
|
|
"serveSSLClient": "cd xClient && npm run serveSSLXFrameworkProject",
|
|
"serveProdClient": "cd xClient && npm run serveProdXFrameworkProject",
|
|
"onlyServeClient": "cd xClient && npm run onlyServe",
|
|
"serveInLabClient": "cd xClient && npm run serveInLabXFrameworkProject",
|
|
"runClientElectron": "cd xClient && npm run runXElectron",
|
|
"serveSSLProdClient": "cd xClient && npm run serveSSLProdXFrameworkProject",
|
|
"startClientElectron": "cd xClient && npm run startElectron",
|
|
"serveProdClubClient": "cd xClient && npm run serveProdClub",
|
|
"onlyServeSSLClient": "cd xClient && npm run onlyServeSSL",
|
|
"onlyServeSSLHosetedClient": "cd xClient && ng serve -o --ssl --host 0.0.0.0",
|
|
"onlyServeSSLHostedProdClient": "cd xClient && ng serve -o --ssl --host 0.0.0.0 --configuration production",
|
|
"serveSSLClientWithoutPrepare": "cd xClient && npm run ng serve -o --ssl",
|
|
"f41": "|---------------|",
|
|
"f42": "| /Serve |",
|
|
"f43": "|---------------|",
|
|
"f51": "|---------------|",
|
|
"f52": "| Prepare |",
|
|
"f53": "|---------------|",
|
|
"prepareClient": "cd xClient && npm run prepareDependenciesFromRegistry",
|
|
"prepareClientElectron": "cd xClient && npm run prepareElectron",
|
|
"addAPISDKLocalDependency": "cd xClient && npm run addAPISDKLocalDependency",
|
|
"addAPISDKRegisteryDependency": "cd xClient && npm run addAPISDKRegisteryDependency",
|
|
"transferClientToPublish": "shx rm -rf ./Publish/xClient && shx mkdir -p ./Publish/xClient && shx cp -r ./xClient/dist/xClient/. ./Publish/xClient && shx rm -rf ./Publish/xClient/wwroot",
|
|
"transferClientAdditionalsToPublish": "shx cp -r ./Documents/Docker/xClient/. ./Publish/xClient",
|
|
"prepareClientToPublish": "npm run buildProdClient && npm run transferClientToPublish && npm run transferClientAdditionalsToPublish",
|
|
"f61": "|---------------|",
|
|
"f62": "| /Prepare |",
|
|
"f63": "|---------------|",
|
|
"f4": "|---------------|",
|
|
"f5": "| /Client |",
|
|
"f6": "|---------------|",
|
|
"h1": "|---------------|",
|
|
"h2": "| API SDK |",
|
|
"h3": "|---------------|",
|
|
"buildXSaherElmSDKIvy": "cd ./Modules/xSaherElmApiSDKHolder && npm run build:ivy",
|
|
"buildXSaherElmSDKModule": "cd ./Modules/xSaherElmApiSDKHolder && npm run buildModule",
|
|
"publishXSaherElmSDKModule": "cd ./Modules/xSaherElmApiSDKHolder && npm run publishModule",
|
|
"publishAPISDKModuleToRegistry": "cd ./Modules/xSaherElmApiSDKHolder && npm run publishModuleToRegistry",
|
|
"rePublishAPISDKModuleToRegistry": "cd ./Modules/xSaherElmApiSDKHolder && npm run rePublishModuleToRegistry",
|
|
"prepareAPISDKDependenciesFromRegistry": "cd ./Modules/xSaherElmApiSDKHolder && npm run prepareDependenciesFromRegistry",
|
|
"h4": "|---------------|",
|
|
"h5": "| /API SDK |",
|
|
"h6": "|---------------|",
|
|
"k1": "|-----------------|",
|
|
"k2": "| Framework Test |",
|
|
"k3": "|-----------------|",
|
|
"buildXFrameworkTest": "cd ./xFrameworkTest && ng build",
|
|
"serveXFrameworkTest": "cd ./xFrameworkTest && ng serve -o",
|
|
"prepareXFrameworkTest": "cd ./xFrameworkTest && npm run prepareDependencies",
|
|
"pServeXFrameworkTest": "cd ./xFrameworkTest && npm run prepareDependencies && ng serve -o",
|
|
"k4": "|-----------------|",
|
|
"k5": "| /Framework Test |",
|
|
"k6": "|-----------------|",
|
|
"ad1": "|-------------------|",
|
|
"da2": "| Workspace |",
|
|
"da3": "|-------------------|",
|
|
"buildWorkspace": "npm run publishApiForAlpineLinux64 && npm run publishIdentityForAlpineLinux64 && npm run buildProdClient",
|
|
"transferWorkspace": "npm run transferApiToPublish && npm run transferIdsToPublish && npm run transferClientToPublish",
|
|
"transferAditionalsWorkspace": "npm run transferApiAdditionalsToPublish && npm run transferIdsAdditionalsToPublish && npm run transferClientAdditionalsToPublish",
|
|
"prepareWorkspaceToPublish": "npm run prepareApiToPublish && npm run prepareIdsToPublish && npm run prepareClientToPublish",
|
|
"da4": "|-------------------|",
|
|
"da5": "| /Workspace |",
|
|
"da6": "|-------------------|"
|
|
},
|
|
"keywords": [
|
|
"x-saherelm",
|
|
"x-saherelm-ai"
|
|
],
|
|
"author": "Hadi Khazaee Asl (hadi_khazaee_asl@yahoo.com)",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"shx": "^0.3.4"
|
|
},
|
|
"dependencies": {}
|
|
}
|