From 285fa03ee2834a9b4b593a847a2332be681bf345 Mon Sep 17 00:00:00 2001 From: Amirhossein Mahmoodi Date: Mon, 12 Aug 2024 10:06:04 +0330 Subject: [PATCH] add command --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f820385..14fe115 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "scripts": { "dev": "next dev", "build": "next build", + "build:publish": "npm i && npm run build && pm2 restart ecosystem.config.js", "start": "next start", "publish-3001": "next start -p 3001", "lint": "next lint" @@ -46,4 +47,4 @@ "@faker-js/faker": "^7.6.0", "eslint-config-next": "^13.3.0" } -} +} \ No newline at end of file