amerc/package.json
artheru 84531acf55 online: multiplayer presence in the tavern (4.1.0)
- backend: in-memory public presence lobby — POST/GET /agents/presence
  (id,name,x,y,dir,frame,sheet; 6s TTL; POST returns other live players)
- RpgTavern: broadcast my position ~600ms, render other visitors'
  chibi avatars (smooth-interpolated) with name labels, depth-sorted;
  a '👥 N in the tavern' counter
- verified: two browsers each show the other's named avatar walking, both
  report 2 online

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 15:05:44 +08:00

19 lines
382 B
JSON

{
"name": "amerc-site",
"version": "4.1.0-online",
"private": true,
"type": "module",
"scripts": {
"dev": "vite --host 0.0.0.0",
"build": "vite build",
"preview": "vite preview --host 0.0.0.0"
},
"dependencies": {
"@vitejs/plugin-react": "^5.0.0",
"marked": "^14.1.4",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"vite": "^7.0.0"
}
}