chore: build script

This commit is contained in:
Bitdori (Admin) 2026-07-28 17:10:56 +09:00
parent c0f9e87f7e
commit 35be603db1
2 changed files with 4 additions and 1 deletions

3
build.sh Executable file
View file

@ -0,0 +1,3 @@
pnpm run check
pnpm run build
sudo systemctl restart bitdori-www

View file

@ -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": {