2182386f9c
- Install @hcaptcha/react-hcaptcha dependency for CAPTCHA protection - Add hCaptcha component integration with site key configuration - Implement captcha token state management with verification callbacks - Add token validation before form submission with user feedback - Reset captcha after successful form submission - Include captcha in form submission payload as hcaptcha_token - Update Next.js to version 15.5.7 for compatibility - Enhance form security by requiring CAPTCHA verification before contact submission
34 lines
803 B
JSON
34 lines
803 B
JSON
{
|
|
"name": "tm-landing",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev --turbopack",
|
|
"build": "next build --turbopack",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@hcaptcha/react-hcaptcha": "^1.16.0",
|
|
"@tanstack/react-query": "^5.90.7",
|
|
"@types/dompurify": "^3.2.0",
|
|
"apexcharts": "^5.3.5",
|
|
"axios": "^1.12.2",
|
|
"dompurify": "^3.3.0",
|
|
"firebase": "^12.6.0",
|
|
"next": "^15.5.7",
|
|
"react": "19.1.0",
|
|
"react-apexcharts": "^1.8.0",
|
|
"react-dom": "19.1.0",
|
|
"react-hook-form": "^7.65.0",
|
|
"react-toastify": "^11.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5"
|
|
}
|
|
}
|