- Turn-order track: names coloured by PC, NPC or monster, this round, a flag where it ends, and the next round - Target by clicking a name on the track, the card, or keys 1-9; whoever is on turn and every target show what they have in hand - Attacks and spells are declared, rolled and applied: type or roll the d20 and the app says hit, miss or critical; a save spell asks each target for its save against the caster's DC; the DM overrules anything and applies - Critical damage by the campaign's rule; a spell spends its slot; a concentration save is called for - Auto-rolled monster and NPC attacks: aimed (weighted), rolled, and offered to the DM to accept, edit or discard; hidden from players until accepted - Monsters can have named attacks and multiattacks; spells say how they land - A "What now" line tells the DM (and each player) what the scene waits on Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37 lines
951 B
JSON
37 lines
951 B
JSON
{
|
|
"name": "backend",
|
|
"version": "1.27.0",
|
|
"private": true,
|
|
"type": "commonjs",
|
|
"main": "src/index.js",
|
|
"scripts": {
|
|
"dev": "node --watch src/index.js",
|
|
"start": "node src/index.js",
|
|
"test": "jest",
|
|
"docs:lists": "node scripts/generate-doc-lists.js",
|
|
"prisma:migrate": "prisma migrate dev",
|
|
"prisma:generate": "prisma generate",
|
|
"prisma:seed": "prisma db seed",
|
|
"seeds:check": "node scripts/check-seeds.js",
|
|
"deploy": "prisma migrate deploy && prisma generate",
|
|
"prisma:studio": "prisma studio"
|
|
},
|
|
"dependencies": {
|
|
"@prisma/adapter-pg": "^7.10.0",
|
|
"@prisma/client": "^7.10.0",
|
|
"bcrypt": "^6.0.0",
|
|
"compression": "^1.8.2",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^18.0.6",
|
|
"express": "^5.2.1",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"socket.io": "^4.8.0",
|
|
"zod": "^4.6.5"
|
|
},
|
|
"devDependencies": {
|
|
"jest": "^30.5.2",
|
|
"prisma": "^7.10.0",
|
|
"supertest": "^7.0.0"
|
|
}
|
|
}
|