cm_whatsapp_bot_v1/apps/web/package.json
yiekheng 838e129f37 chore: add bcryptjs to web + db packages
Pure-JS bcrypt for password hashing. Avoids the native-build pain
of node-bcrypt in our Alpine Docker images. Login is a rare event
so the perf gap is irrelevant for our scale.
2026-05-10 17:41:06 +08:00

62 lines
1.6 KiB
JSON

{
"name": "@cmbot/web",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "next dev --hostname 0.0.0.0",
"build": "next build --webpack",
"start": "next start --hostname 0.0.0.0",
"lint": "next lint",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"gen:icons": "tsx scripts/gen-pwa-icons.ts"
},
"dependencies": {
"@cmbot/db": "workspace:*",
"@cmbot/shared": "workspace:*",
"@hookform/resolvers": "^5.2.2",
"@serwist/next": "^9.5.11",
"@types/luxon": "^3.4.2",
"bcryptjs": "^3.0.3",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"drizzle-orm": "^0.36.0",
"geist": "^1.7.0",
"lucide-react": "^1.14.0",
"luxon": "^3.5.0",
"next": "^16.0.0",
"next-themes": "^0.4.6",
"pg": "^8.13.0",
"pino": "^9.5.0",
"pino-pretty": "^11.3.0",
"qrcode": "^1.5.4",
"radix-ui": "^1.4.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-hook-form": "^7.75.0",
"server-only": "^0.0.1",
"serwist": "^9.5.11",
"shadcn": "^4.7.0",
"sonner": "^2.0.7",
"tailwind-merge": "^3.5.0",
"tw-animate-css": "^1.4.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.0.0",
"@types/bcryptjs": "^3.0.0",
"@types/node": "^22.7.0",
"@types/pg": "^8.11.10",
"@types/qrcode": "^1.5.5",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitest/ui": "^2.1.9",
"sharp": "^0.34.5",
"tailwindcss": "^4.0.0",
"tsx": "^4.19.0",
"typescript": "^5.5.0",
"vitest": "^2.1.9"
}
}