Files
AmirReza Jamali 7b6cd4d965 feat(validation): Implement form validation and error handling utilities
- Add validation rules for form fields with XSS protection
- Create API error handler to parse and manage server validation errors
- Integrate validation rules into contact and inquiries forms
- Enhance error handling with user feedback for form submissions
- Introduce unit tests for validation and error handling functionalities
2026-02-08 13:35:07 +03:30

39 lines
936 B
JSON

{
"name": "tm-landing",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
"build": "next build --turbopack",
"start": "next start",
"test": "jest",
"test:watch": "jest --watch"
},
"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/jest": "^30.0.0",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"jest": "^30.2.0",
"tailwindcss": "^4",
"ts-jest": "^29.4.6",
"typescript": "^5"
}
}