Files
RingBRP/package.json
T
slaguru666andClaude Opus 5 7973b0ed7d make-pdf: print a scenario as an A4 GM document
Chrome headless is the only print engine on these machines, and its page
rules are real: one section per page, tables and read-aloud blocks never
split, cite markers dropped, and the scenario's own 01 plate as a cover.
npm run pdf docs/scenarios/<FILE>.md writes docs/print/<FILE>.pdf.

Named make-pdf rather than scenario-pdf on purpose: check-scenarios treats
every tools/scenario-* file as scenario text, so the first name swept a
stylesheet's point sizes into the figures corpus.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-23 19:09:52 +01:00

31 lines
1.7 KiB
JSON

{
"name": "ringbrp",
"version": "0.9.0",
"description": "The Custodians \u2014 a Basic Roleplaying game of crossings, for Foundry VTT",
"main": "ringbrp.mjs",
"scripts": {
"build": "node tools/build-packs.mjs && node tools/update-readme.mjs",
"icons": "node tools/make-icons.mjs",
"portraits": "node tools/make-portraits.mjs",
"bestiary": "node tools/bestiary.mjs",
"play": "node tools/playthrough.mjs",
"mj": "node tools/mj-queue.mjs",
"simulate": "node tools/simulate.mjs",
"check": "bun tools/check-seam.mjs && bun tools/check-generator.mjs && bun tools/check-forge.mjs && bun tools/check-armed.mjs && bun tools/check-rules.mjs && bun tools/check-kits.mjs && bun tools/check-lang.mjs && bun tools/check-templates.mjs && bun tools/check-behaviour.mjs && bun tools/check-scenarios.mjs && bun tools/check-rollable.mjs && bun tools/check-outcomes.mjs && bun tools/check-creatures.mjs && bun tools/check-powers.mjs && bun tools/check-anatomy.mjs && bun tools/check-lethality.mjs && bun tools/check-focus.mjs && bun tools/check-firstblood.mjs && bun tools/check-attackers.mjs && bun tools/check-fight-tail.mjs && bun tools/check-packs.mjs && bun tools/detention-tables.mjs --check && bun tools/bellhouse-plans.mjs --check && bun tools/check-cited.mjs && bun tools/check-figures.mjs && bun tools/check-handouts.mjs && bun tools/check-bestiary.mjs",
"test": "bun run check",
"readme": "bun tools/update-readme.mjs",
"tokens": "python3 tools/make-tokens.py",
"pdf": "node tools/make-pdf.mjs"
},
"keywords": [],
"author": "Tim Evans (slaguru666)",
"license": "SEE LICENSE.txt",
"type": "commonjs",
"dependencies": {
"classic-level": "^3.0.0"
},
"devDependencies": {
"handlebars": "^4.7.9"
}
}