Files
cluedo-hp-webapp/frontend/package.json
T
nessi ee8ae8829e Add QR code generation and scanning for game join codes with camera integration
Implemented QR code generation for created games using qrcode library with custom dark/light color scheme. Added camera-based QR scanner using BarcodeDetector API with environment-facing camera preference, automatic code extraction, and 350ms polling interval. Added toggle buttons for QR display/scanner with bilingual labels, video preview with styled container, and fallback error handling for unsupported browsers or denied
2026-08-02 10:52:37 +02:00

22 lines
495 B
JSON

{
"name": "cluedo-frontend",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite --host 0.0.0.0 --port 5173",
"build": "vite build"
},
"dependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1",
"canvas-confetti": "^1.9.3",
"qrcode": "^1.5.4"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.4.8",
"vite-plugin-pwa": "^0.20.0"
}
}