- A weapon, item, spell or monster from the library can be added to a campaign once. Adding it again is refused: "Longsword is already in this campaign." - The library list leaves out what the campaign already has, so what is left is what can still be added. When nothing is left it says so. - An entry counts as added while the campaign has one by that name, whatever its capitals. Rename or delete the campaign's copy and the library offers it again. This also covers what a world's seed put in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
36 lines
922 B
JSON
36 lines
922 B
JSON
{
|
|
"name": "backend",
|
|
"version": "1.12.1",
|
|
"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",
|
|
"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"
|
|
}
|
|
}
|