diff --git a/package.json b/package.json index 4b48659..86613ec 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,10 @@ "build": "next build", "start": "next start", "publish-3002": "next start -p 3002", - "lint": "next lint" + "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" }, "dependencies": { "@emotion/react": "^11.10.6", @@ -45,6 +48,7 @@ }, "devDependencies": { "@faker-js/faker": "^7.6.0", - "eslint-config-next": "^13.3.0" + "eslint-config-next": "^13.3.0", + "run-script-os": "^1.1.6" } }