Files
rondevu-demo/package.json
Bas van den Aakster b9c07aeb5a Update for simplified client API and add Node.js hosting guide
Changes:
- Update App.jsx to use Rondevu.connect() instead of new + initialize()
- Update publishService to use 'service' parameter instead of 'serviceFqn'
- Remove explicit claimUsername() calls (now implicit)
- Add comprehensive NODE_HOST_GUIDE.md for hosting WebRTC services in Node.js
- Update README with Node.js hosting section

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-12 21:57:11 +01:00

29 lines
797 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",
"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"
}
}