deckhearth/package.json
Randall Stillwell 7dc8718512 Fix build issues and update dependencies
🔧 Build Fixes:
- Update Node.js version from 18.x to 22.x (required by Vercel)
- Remove debug endpoints to get under 12 function limit for Hobby plan
- Downgrade React from 19.x to 18.x for better compatibility
- Update react-router-dom to v6.28.0 (compatible with Node 22)
- Update TypeScript to v5.7.3
- Update React types to match React version

Functions count: 12/12 (at limit for Hobby plan)

Core API endpoints:
 auth/login.js, auth/register.js
 collections/index.js, collections/add-card.js
 cards/find-or-create.js
 admin/users.js, admin/promote-user.js
 setup-auth.js, simple.js
 Legacy: migrate.ts, v1/cards/[id].ts, v1/cards/index.ts
2025-07-22 08:18:51 -05:00

69 lines
1.7 KiB
JSON

{
"name": "frontend",
"version": "0.1.0",
"private": true,
"engines": {
"node": "22.x"
},
"dependencies": {
"@stackframe/stack": "^2.8.22",
"@tanstack/react-query": "^5.83.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^13.5.0",
"@types/bcryptjs": "^2.4.6",
"@types/jest": "^27.5.2",
"@types/jsonwebtoken": "^9.0.10",
"@types/next": "^8.0.7",
"@types/node": "^16.18.126",
"@types/pg": "^8.15.4",
"@types/react": "^18.3.17",
"@types/react-dom": "^18.3.5",
"@types/react-router-dom": "^5.3.3",
"@vercel/analytics": "^1.5.0",
"@vercel/blob": "^1.1.1",
"@vercel/speed-insights": "^1.2.0",
"axios": "^1.10.0",
"bcryptjs": "^3.0.2",
"jsonwebtoken": "^9.0.2",
"next": "^15.4.2",
"pg": "^8.16.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.28.0",
"react-scripts": "5.0.1",
"tesseract.js": "^6.0.1",
"typescript": "^5.7.3",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"autoprefixer": "^10.4.21",
"postcss": "^8.5.6",
"tailwindcss": "^3.4.17"
}
}