- The campaign page shows one part at a time, picked from a row of buttons under its name: Overview (characters and encounters), NPCs, Locations, Weapons, Items, Spells, Monsters, Notes and Settings for the DM; Overview, Places and Notes for a player. Each button counts what is in its part. On a phone the row scrolls sideways. The part showing is in the address (?view=weapons), so the back button steps through the parts. - NPCs, weapons, items, spells and monsters are lists of short rows. Clicking a row opens a pop-out with everything about it and everything that can be changed. Adding one, by hand or from the library, is a pop-out too: a window on a wide screen, the whole screen on a phone. - "Search this campaign" looks through everything added to the campaign at once: characters, encounters, locations and notes, and for the DM also NPCs, weapons, items, spells and monsters. Each of the DM's lists has a search box of its own as well. - With three pages or more, the page number of a paged list is a menu to jump straight to any page. - The invite code, the party and archive or delete are under Settings. - A weapon's properties and range, and a spell's casting time, range and duration, are shown in its pop-out. - All packages at version 1.13.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37 lines
951 B
JSON
37 lines
951 B
JSON
{
|
|
"name": "backend",
|
|
"version": "1.13.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"
|
|
}
|
|
}
|