chore: build script
This commit is contained in:
parent
c0f9e87f7e
commit
35be603db1
2 changed files with 4 additions and 1 deletions
3
build.sh
Executable file
3
build.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
||||||
|
pnpm run check
|
||||||
|
pnpm run build
|
||||||
|
sudo systemctl restart bitdori-www
|
||||||
|
|
@ -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",
|
"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",
|
"dev": "pnpm run check && next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "pnpm run check && next build && next start --port 7007",
|
"start": "next start --port 7007",
|
||||||
"lint": "eslint"
|
"lint": "eslint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue