Implemented optional IBAN validation for the account form profile: - Installed iban.js package for robust IBAN validation - Added Zod validation with IBAN.isValid() for format checking - Normalizes IBAN (removes spaces, uppercase) before storage - Validates country-specific formats and checksums - Added validation error messages in English and Croatian 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
62 lines
1.6 KiB
JSON
62 lines
1.6 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "next build",
|
|
"dev": "next dev",
|
|
"prettier": "prettier --write --ignore-unknown .",
|
|
"prettier:check": "prettier --check --ignore-unknown .",
|
|
"start": "next start",
|
|
"seed": "node -r dotenv/config ./scripts/seed.js"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/react": "^11.14.0",
|
|
"@emotion/styled": "^11.14.1",
|
|
"@heroicons/react": "^2.0.18",
|
|
"@mui/icons-material": "^7.3.5",
|
|
"@mui/material": "^7.3.5",
|
|
"@tailwindcss/typography": "^0.5.10",
|
|
"@types/iban": "^0.0.35",
|
|
"@types/node": "20.5.7",
|
|
"@zxing/browser": "^0.1.4",
|
|
"@zxing/library": "^0.20.0",
|
|
"autoprefixer": "10.4.15",
|
|
"bcrypt": "^5.1.1",
|
|
"clsx": "^2.0.0",
|
|
"daisyui": "^4.5.0",
|
|
"iban": "^0.0.14",
|
|
"is-ua-webview": "^1.1.2",
|
|
"mongodb": "^6.3.0",
|
|
"next": "^14.0.2",
|
|
"next-auth": "^5.0.0-beta.4",
|
|
"next-intl": "^3.7.0",
|
|
"pdfjs-dist": "^4.0.379",
|
|
"pg": "^8.11.3",
|
|
"postcss": "8.4.31",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0",
|
|
"react-infinite-scroll-component": "^6.1.0",
|
|
"react-toastify": "^10.0.6",
|
|
"tailwindcss": "^3.4.0",
|
|
"typescript": "5.2.2",
|
|
"use-debounce": "^10.0.0",
|
|
"zod": "^3.22.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcrypt": "^5.0.1",
|
|
"@types/pg": "^8.10.9",
|
|
"@types/react": "18.2.21",
|
|
"@types/react-dom": "18.2.14",
|
|
"@vercel/style-guide": "^5.0.1",
|
|
"dotenv": "^16.3.1",
|
|
"eslint": "^8.52.0",
|
|
"eslint-config-next": "^14.0.0",
|
|
"eslint-config-prettier": "9.0.0",
|
|
"prettier": "^3.0.3",
|
|
"prettier-plugin-tailwindcss": "0.5.4"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.17.0"
|
|
},
|
|
"version": "1.59.0"
|
|
}
|