- Set up pnpm workspace with 4 packages: shared, server, client-mobile, client-screen - Implement Redis atomic voting with Lua scripts (HINCRBY + distributed lock) - Add optimistic UI with IndexedDB queue for offline resilience - Configure Socket.io with auto-reconnection (infinite retries) - Separate mobile (Vant) and big screen (Pixi.js) dependencies Tech stack: - Frontend Mobile: Vue 3 + Vant + Socket.io-client - Frontend Screen: Vue 3 + Pixi.js + GSAP - Backend: Express + Socket.io + Redis + Prisma/MySQL Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
32 lines
721 B
JSON
32 lines
721 B
JSON
{
|
|
"name": "@gala/client-screen",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc --noEmit && vite build",
|
|
"preview": "vite preview",
|
|
"typecheck": "vue-tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@gala/shared": "workspace:*",
|
|
"vue": "^3.5.13",
|
|
"vue-router": "^4.5.0",
|
|
"pinia": "^2.3.0",
|
|
"pixi.js": "^8.6.6",
|
|
"@pixi/particle-emitter": "^5.0.8",
|
|
"gsap": "^3.12.7",
|
|
"socket.io-client": "^4.8.1",
|
|
"howler": "^2.2.4"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
"vite": "^6.0.7",
|
|
"sass": "^1.83.1",
|
|
"typescript": "^5.7.3",
|
|
"vue-tsc": "^2.2.0",
|
|
"@types/howler": "^2.2.12"
|
|
}
|
|
}
|