mirror of
https://github.com/xtr-dev/rondevu-demo.git
synced 2025-12-13 03:53:22 +00:00
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>
31 lines
829 B
JSON
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"
|
|
}
|
|
}
|