- packages/shared (@nerdware/shared): domain model (Room, Player, Settings, Round, votes, scores) + fully typed Socket.IO events, consumed as source - apps/server (@nerdware/server): Fastify boot + /health, typed Socket.IO attached to the HTTP server, env config, graceful shutdown - gitignore: allow .env.example to be committed Roadmap V1 step 1. Room logic (room:create/join) comes next. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
23 lines
480 B
JSON
23 lines
480 B
JSON
{
|
|
"name": "@nerdware/shared",
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"lint": "eslint",
|
|
"format": "prettier --write \"**/*.ts\"",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./domain": "./src/domain.ts",
|
|
"./events": "./src/events.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10",
|
|
"eslint": "^10",
|
|
"globals": "^17",
|
|
"typescript": "~6",
|
|
"typescript-eslint": "^8"
|
|
}
|
|
}
|