This commit is contained in:
2026-08-10 22:58:07 +03:30
parent 2f271b21a2
commit 60b4f6df69
+15 -8
View File
@@ -5,19 +5,20 @@
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",
"build": "ng build", "build": "ng build",
"refreshModule": "npm run cleanModule && npm i", "refreshModule": "npm run cleanModule && npm i --force",
"watch": "ng build --watch --configuration development", "watch": "ng build --watch --configuration development",
"build:ivy": "ng build x-saherelm-api-sdk --configuration=ivy", "build:ivy": "ng build x-saherelm-api-sdk --configuration=ivy",
"publishModule": "npm run buildModule && npm run packModule", "publishModule": "npm run buildModule && npm run packModule",
"buildModule": "npm run preBuildModule && ng build x-saherelm-api-sdk", "buildModule": "npm run preBuildModule && ng build x-saherelm-api-sdk",
"serveDocs": "compodoc -p projects/x-saherelm-api-sdk/tsconfig.lib.json --theme material -s", "serveDocs": "compodoc -p projects/x-saherelm-api-sdk/tsconfig.lib.json --theme material -s",
"packModule": "cd dist/x-saherelm-api-sdk && npm pack && shx mv *.tgz ../../../../Documents/pack", "packModule": "cd dist/x-saherelm-api-sdk && npm pack && shx mv *.tgz ../../../../Documents/pack",
"unpublishModuleFromRegistry": "npm unpublish --force x-saherelm-api-sdk --registry https://npm.saherelmhub.ir", "unpublishModuleFromRegistry": "npm unpublish --force x-saherelm-api-sdk --registry https://npm.saherelm.ir",
"publishModuleToRegistry": "npm publish ../../Documents/pack/x-saherelm-api-sdk-0.0.1.tgz --registry https://npm.saherelmhub.ir", "publishModuleToRegistry": "npm publish ../../Documents/pack/x-saherelm-api-sdk-0.0.1.tgz --registry https://npm.saherelm.ir",
"rePublishModuleToRegistry": "npm run publishModule && npm run unpublishModuleFromRegistry && npm run publishModuleToRegistry", "rePublishModuleToRegistry": "npm run publishModule && npm run unpublishModuleFromRegistry && npm run publishModuleToRegistry",
"preBuildModule": "shx --silent rm -rf dist && shx --silent rm ../../Documents/pack/x-saherelm-api-sdk*.tgz || shx true && npm run prepareDependenciesFromRegistry", "preBuildModule": "shx --silent rm -rf dist && shx --silent rm ../../Documents/pack/x-saherelm-api-sdk*.tgz || shx true && npm run prepareDependenciesFromRegistry",
"cleanModule": "shx true --silent rm -rf dist && shx true --silent rm ./package-lock.json && shx true --silent rm -rf node_modules && npm i --save-dev shx@0.3.2", "cleanModule": "shx true --silent rm -rf dist && shx true --silent rm ./package-lock.json && shx true --silent rm -rf node_modules && npm i --save-dev shx@0.3.2",
"prepareDependenciesFromRegistry": "npm i --force -D --registry https://npm.saherelmhub.ir x-framework-core x-framework-services x-framework-identity-sdk x-framework-push-service", "prepareDependenciesFromRegistry": "npm i --force -D --registry https://npm.saherelm.ir x-framework-core x-framework-services x-framework-identity-sdk x-framework-push-service",
"prepareDependencies": "npm i --force --save-dev ../../Documents/pack/x-framework-core-0.0.1.tgz ../../Documents/pack/x-framework-services-0.0.1.tgz ../../Documents/pack/x-framework-push-service-0.0.1.tgz ../../Documents/pack/x-framework-identity-sdk-0.0.1.tgz",
"generateDocs": "compodoc -p projects/x-saherelm-api-sdk/tsconfig.lib.json --theme material --hideGenerator --disableSourceCode --disableDomTree --disableTemplateTab --disableStyleTab --disablePrivate --disableLifeCycleHooks --disableRoutesGraph --disableCoverage --customFavicon ../../Documents/resources/favicon.png --customLogo ../../Documents/resources/favicon.png" "generateDocs": "compodoc -p projects/x-saherelm-api-sdk/tsconfig.lib.json --theme material --hideGenerator --disableSourceCode --disableDomTree --disableTemplateTab --disableStyleTab --disablePrivate --disableLifeCycleHooks --disableRoutesGraph --disableCoverage --customFavicon ../../Documents/resources/favicon.png --customLogo ../../Documents/resources/favicon.png"
}, },
"private": true, "private": true,
@@ -69,9 +70,15 @@
"shx": "^0.3.3", "shx": "^0.3.3",
"typescript": "~4.2.3", "typescript": "~4.2.3",
"uuid": "^8.3.2", "uuid": "^8.3.2",
"x-framework-core": "0.0.1", "x-framework-core": "file:../../Documents/pack/x-framework-core-0.0.1.tgz",
"x-framework-identity-sdk": "0.0.1", "x-framework-identity-sdk": "file:../../Documents/pack/x-framework-identity-sdk-0.0.1.tgz",
"x-framework-push-service": "0.0.1", "x-framework-push-service": "file:../../Documents/pack/x-framework-push-service-0.0.1.tgz",
"x-framework-services": "0.0.1" "x-framework-services": "file:../../Documents/pack/x-framework-services-0.0.1.tgz"
},
"allowScripts": {
"@angular/cli@12.0.5": true,
"@compodoc/compodoc@1.2.1": true,
"core-js@3.12.0": true,
"esbuild@0.13.8": true
} }
} }