- The main destinations are always on screen: Campaigns, Campaign and Party (for the campaign last visited, from any page) and Account. They are links along the top bar on a wide screen, and a bar along the bottom on a phone or small tablet (900px or less). - Nothing floats over the page on a phone: the dice roller is the last button of the bottom bar, and quick stats sits in the top bar. - The campaign page and the character sheet start with a row of links to their sections. - On a small screen every table is a stack of labelled cards, rows of controls wrap, fields shrink to fit, and things to tap are bigger. - The encounter list is paged, ten to a page, as is the archived list. Moving an encounter still works across pages. - Text boxes with no type given, and native checkboxes and dropdowns, now match the dark theme. Long monster notes and item descriptions wrap inside their table cell. - All packages at version 1.10.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 lines
949 B
JSON
38 lines
949 B
JSON
{
|
|
"name": "backend",
|
|
"version": "1.10.1",
|
|
"private": true,
|
|
"type": "commonjs",
|
|
"main": "src/index.js",
|
|
"prisma": {
|
|
"seed": "node prisma/seed.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",
|
|
"deploy": "prisma migrate deploy && prisma generate",
|
|
"seed:hollowcrown": "node prisma/seed-hollowcrown.js",
|
|
"prisma:studio": "prisma studio"
|
|
},
|
|
"dependencies": {
|
|
"@prisma/client": "^5.20.0",
|
|
"bcrypt": "^5.1.1",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.4.5",
|
|
"express": "^4.21.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"socket.io": "^4.8.0",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"jest": "^29.7.0",
|
|
"prisma": "^5.20.0",
|
|
"supertest": "^7.0.0"
|
|
}
|
|
}
|