diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..7b520af --- /dev/null +++ b/build.sh @@ -0,0 +1,3 @@ +pnpm run check +pnpm run build +sudo systemctl restart bitdori-www diff --git a/package.json b/package.json index 2c57692..526cff6 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "check": "pnpm i && pnpx next telemetry disable && pnpm i baseline-browser-mapping@latest -D && pnpx browserslist && git remote -v && git branch && node --version && pnpx npm-check-updates", "dev": "pnpm run check && next dev", "build": "next build", - "start": "pnpm run check && next build && next start --port 7007", + "start": "next start --port 7007", "lint": "eslint" }, "dependencies": {