- A player can no longer heal or hurt their own character: the Damage, Heal and Temp HP controls on the sheet are the DM's, and the server refuses the change from anyone else. Players still roll their own death saves. - A player can no longer add money to their own purse or write it off: recording a gain or a spend is the DM's, in any coin or in cash, on the sheet and on the server. - Players still exchange gold, silver and copper on the sheet, give money to another character, and buy from or change money with an NPC. - All packages at version 1.11.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.11.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"
|
|
}
|
|
}
|