Update package.json add scripts entry "deploy" for (pre)build and deploy
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
"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'",
|
||||
"build": "vite build",
|
||||
"deploy": "npm run prebuild && npm run build && ./scripts/deploy.sh",
|
||||
"preview": "vite preview",
|
||||
"test": "echo 'Test runner not configured for Vite yet' && exit 0",
|
||||
"check": "tsc --noEmit",
|
||||
|
||||
Reference in New Issue
Block a user