From ecea72ee7d0c69c4acd4d9b7e3d6b581ac70dbbe Mon Sep 17 00:00:00 2001 From: Amirhossein Mahmoodi Date: Mon, 12 Aug 2024 10:09:50 +0330 Subject: [PATCH] add command --- package.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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