Set up book project: Markdown→CSS→PDF pipeline for KDP
Adds the full authoring and build toolchain for "Das Kaleidoskop der Schlummerwelten" — all 12 story content files in Markdown, Nunjucks HTML templates, CSS print layout, and Puppeteer-based PDF generation targeting Amazon KDP (8.5×8.5 in, 0.125in bleed). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "kaleidoskop-der-schlummerwelten",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "node scripts/build.js",
|
||||
"pdf": "node scripts/pdf.js",
|
||||
"book": "pnpm build && pnpm pdf",
|
||||
"watch": "node --watch scripts/build.js"
|
||||
},
|
||||
"pnpm": {
|
||||
"onlyBuiltDependencies": ["puppeteer"]
|
||||
},
|
||||
"dependencies": {
|
||||
"gray-matter": "^4.0.3",
|
||||
"marked": "^12.0.0",
|
||||
"nunjucks": "^3.2.4",
|
||||
"puppeteer": "^24.42.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user