diff --git a/.env.local.example b/.env.local.example index 5d3d9b4..b9d9461 100644 --- a/.env.local.example +++ b/.env.local.example @@ -1,5 +1,5 @@ NEXT_PUBLIC_API_NAME = "Loan Facilities Dashboard" -NEXT_PUBLIC_API_VERSION = "2.5.5" +NEXT_PUBLIC_API_VERSION = "2.5.6" NEXT_PUBLIC_DEFAULT_LANGUAGE = "fa" NEXT_PUBLIC_DEFAULT_DIRECTION = "rtl" diff --git a/package.json b/package.json index 33261ac..b06961c 100644 --- a/package.json +++ b/package.json @@ -5,12 +5,10 @@ "scripts": { "dev": "next dev", "build": "next build", + "build:publish": "npm i && npm run build && pm2 restart ecosystem.config.js", "start": "next start", "publish-3002": "next start -p 3002", "lint": "next lint", - "update": "run-script-os", - "update:win32": "echo 'ok'", - "update:linux": "rm -rf .next/ && npm i && npm run build && sudo systemctl restart loan_facilities_develop_expert.service", "test": "jest", "test:watch": "jest --watchAll", "cypress:open": "cypress open", @@ -69,4 +67,4 @@ "next-router-mock": "^0.9.10", "run-script-os": "^1.1.6" } -} +} \ No newline at end of file