Add Vercel as a devDependency and update deploy command to replace Surge with Vercel

This commit is contained in:
sepehr-safari committed 2025-06-08 15:50:28 +03:00
1 parent 68202d655e
commit c07a53e727
3 files changed
+2184 -3

No files matched your search

+3
View File
@@ -20,3 +20,6 @@ dist-ssr
*.njsproj
*.sln
*.sw?
# Vercel
.vercel
+2179 -2
View File
File diff suppressed because it is too large. Load diff
+2 -1
View File
@@ -7,7 +7,7 @@
"dev": "npm i && vite",
"build": "npm i && vite build && cp dist/index.html dist/404.html",
"test": "npm i && tsc -p tsconfig.app.json --noEmit && eslint && vitest run && vite build",
"deploy": "npm run build && npx -y surge@latest dist"
"deploy": "npm run build && vercel whoami && vercel --prod --yes"
},
"dependencies": {
"@hookform/resolvers": "^3.9.0",
@@ -86,6 +86,7 @@
"tailwindcss": "^3.4.11",
"typescript": "^5.5.3",
"typescript-eslint": "^8.0.1",
"vercel": "^42.3.0",
"vite": "^6.3.5",
"vitest": "^3.1.4"
}