chore: add build:watch and serve scripts, install nodemon

This commit is contained in:
Falkan
2026-03-18 20:52:21 -04:00
parent 1308b1f96f
commit 1c6dc7984a
3 changed files with 386 additions and 1 deletions

View File

@@ -6,6 +6,9 @@
"scripts": {
"dev": "vite dev",
"build": "vite build",
"build:watch": "vite build --watch",
"serve": "PORT=4078 HOST=192.168.0.94 ORIGIN=http://192.168.0.94:4078 nodemon --watch build/server build/index.js",
"start": "PORT=4078 HOST=192.168.0.94 ORIGIN=http://192.168.0.94:4078 node build/index.js",
"preview": "vite preview",
"prepare": "svelte-kit sync || echo ''",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
@@ -19,6 +22,7 @@
"@types/bcryptjs": "^2.4.6",
"@types/big.js": "^6.2.2",
"@types/cookie": "^0.6.0",
"nodemon": "^3.1.14",
"svelte": "^5.51.0",
"svelte-check": "^4.4.2",
"typescript": "^5.9.3",