Files
rondevu-demo/package.json
Bas van den Aakster 4d95ddcd59 Move wrtc to optionalDependencies
wrtc requires native compilation and may fail on some systems.
Make it optional so the demo can build without it. Users who want
to run the Node.js test script can install it separately.

🤖 Generated with Claude Code
https://claude.com/claude-code

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-12 20:39:43 +01:00

31 lines
829 B
JSON

{
"name": "rondevu-demo",
"version": "2.0.0",
"description": "Demo application for Rondevu DNS-like WebRTC with username claiming and service discovery",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"deploy": "npm run build && npx wrangler pages deploy dist --project-name=rondevu-demo",
"test": "node test-connect.js"
},
"dependencies": {
"@xtr-dev/rondevu-client": "file:../client",
"@zxing/library": "^0.21.3",
"qrcode": "^1.5.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hot-toast": "^2.6.0"
},
"optionalDependencies": {
"wrtc": "^0.4.7"
},
"devDependencies": {
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.4.11"
}
}