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

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

3
.gitignore vendored
View File

@ -20,3 +20,6 @@ dist-ssr
*.njsproj
*.sln
*.sw?
# Vercel
.vercel

2181
package-lock.json generated

File diff suppressed because it is too large Load Diff

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"
}