Update package.json add scripts entry "deploy" for (pre)build and deploy

This commit is contained in:
2026-01-16 19:14:15 +00:00
parent 55a0742d13
commit 08c2182c32

View File

@@ -33,6 +33,7 @@
"start:wsl2": "HOST=0.0.0.0 vite", "start:wsl2": "HOST=0.0.0.0 vite",
"kill": "lsof -ti:3000 | xargs kill -9 2>/dev/null && echo 'Cleared port 3000' || echo 'Port 3000 was not in use'", "kill": "lsof -ti:3000 | xargs kill -9 2>/dev/null && echo 'Cleared port 3000' || echo 'Port 3000 was not in use'",
"build": "vite build", "build": "vite build",
"deploy": "npm run prebuild && npm run build && ./scripts/deploy.sh",
"preview": "vite preview", "preview": "vite preview",
"test": "echo 'Test runner not configured for Vite yet' && exit 0", "test": "echo 'Test runner not configured for Vite yet' && exit 0",
"check": "tsc --noEmit", "check": "tsc --noEmit",