Files
pwap/web/package.json
T
pezkuwichain 8771f2cd21 feat(production): finalize production-readiness improvements
IMPROVEMENTS:
1.  ESLint warnings reduced (27→26, Auth context fully fixed)
   - AuthContext: Fixed signOut, checkSessionTimeout, checkAdminStatus dependencies
   - All functions wrapped with useCallback for stability
   - Remaining warnings are non-critical (fast-refresh, intentional exhaustive-deps)

2.  i18n key coverage verified (100%)
   - All 6 languages: en, ar, ckb, fa, kmr, tr
   - 50 translation keys per language
   - Perfect key parity across all locales
   - No missing translations

3.  Error monitoring integrated (Sentry)
   - @sentry/react installed and configured
   - Environment-based initialization (disabled in dev)
   - Sensitive data filtering (wallet addresses redacted)
   - Session replay enabled (10% sample rate)
   - Performance monitoring (10% trace sample)
   - .env variables for production/staging DSN

PRODUCTION READY STATUS:
- Build: ✓ Success (7.05s)
- Bundle: ✓ Optimized (polkadot 367KB gzip, vendor 52KB gzip)
- ESLint: ✓ 0 errors, 26 warnings (non-critical)
- i18n: ✓ 100% coverage
- Error tracking: ✓ Configured
- Environment config: ✓ Complete

NEXT: Pre-sale UI implementation

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 06:37:40 +03:00

107 lines
3.4 KiB
JSON

{
"name": "vite_react_shadcn_ts",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"build:dev": "vite build --mode development",
"lint": "eslint .",
"preview": "vite preview",
"test": "vitest",
"prepare": "husky"
},
"dependencies": {
"@hookform/resolvers": "^3.9.0",
"@polkadot/api": "^16.4.9",
"@polkadot/extension-dapp": "^0.62.3",
"@polkadot/keyring": "^13.5.7",
"@polkadot/util": "^13.5.7",
"@polkadot/util-crypto": "^13.5.7",
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-alert-dialog": "^1.1.1",
"@radix-ui/react-aspect-ratio": "^1.1.0",
"@radix-ui/react-avatar": "^1.1.0",
"@radix-ui/react-checkbox": "^1.1.1",
"@radix-ui/react-collapsible": "^1.1.0",
"@radix-ui/react-context-menu": "^2.2.1",
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-hover-card": "^1.1.1",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-menubar": "^1.1.1",
"@radix-ui/react-navigation-menu": "^1.2.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-progress": "^1.1.0",
"@radix-ui/react-radio-group": "^1.2.0",
"@radix-ui/react-scroll-area": "^1.1.0",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slider": "^1.2.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.0",
"@radix-ui/react-tabs": "^1.1.0",
"@radix-ui/react-toast": "^1.2.1",
"@radix-ui/react-toggle": "^1.1.0",
"@radix-ui/react-toggle-group": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.4",
"@sentry/react": "^10.26.0",
"@supabase/supabase-js": "^2.49.4",
"@tanstack/react-query": "^5.56.2",
"@types/uuid": "^10.0.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.0.0",
"date-fns": "^3.6.0",
"embla-carousel-react": "^8.3.0",
"highlight.js": "^11.9.0",
"i18next": "^23.7.6",
"i18next-browser-languagedetector": "^7.2.0",
"input-otp": "^1.2.4",
"lucide-react": "^0.462.0",
"marked": "^12.0.1",
"next-themes": "^0.3.0",
"qrcode": "^1.5.4",
"react": "^18.3.1",
"react-day-picker": "^8.10.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.53.0",
"react-i18next": "^14.0.0",
"react-resizable-panels": "^2.1.3",
"react-router-dom": "^6.26.2",
"recharts": "^2.12.7",
"sonner": "^1.5.0",
"tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7",
"uuid": "^11.1.0",
"vaul": "^0.9.3",
"zod": "^3.23.8"
},
"devDependencies": {
"@eslint/js": "^9.9.0",
"@tailwindcss/typography": "^0.5.16",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@types/node": "^22.5.5",
"@types/qrcode": "^1.5.6",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react-swc": "^3.5.0",
"autoprefixer": "^10.4.20",
"eslint": "^9.9.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.9",
"globals": "^15.9.0",
"husky": "^9.1.7",
"jsdom": "^27.2.0",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.11",
"typescript": "^5.5.3",
"typescript-eslint": "^8.0.1",
"vite": "^5.4.1",
"vitest": "^4.0.10"
}
}