This commit is contained in:
rca 2024-08-12 21:50:55 +09:00
parent b9259ca1c8
commit 98e0fc0d8c

View File

@ -1,16 +1,15 @@
{
"name": "md2pdf-mod",
"name": "md2pdf-meow",
"version": "1.0.0",
"description": "Convert Markdown documents to PDF (modified version)",
"description": "Convert Markdown documents to PDF🐱",
"scripts": {
"build:doc-1": "npx minicat documents/*.md > work/all.md",
"build:doc-2": "npx doctoc --notitle --maxlevel 3 work/all.md",
"build:doc-3": "node scripts/mdit.js work/all.md work/all_md.html",
"build:doc-4": "node scripts/ejs.js template/template.html work/all.html",
"build:doc-5": "npx html-inline work/all.html -b doc -o dist/all.html",
"build:doc-6": "AHFCmd -d dist/all.html -p @PDF -pdfver 1.5 -base \" \" -x 4 -pgbar -o dist/all.pdf",
"build:test": "npx tsx scripts/convert.ts",
"build": "npm run build:doc-1 && npm run build:doc-2 && npm run build:doc-3 && npm run build:doc-4 && npm run build:doc-5 && npm run build:test"
"build:step1": "npx minicat documents/*.md > work/all.md",
"build:step2": "npx doctoc --notitle --maxlevel 3 work/all.md",
"build:step3": "node scripts/mdit.js work/all.md work/all_md.html",
"build:step4": "node scripts/ejs.js template/template.html work/all.html",
"build:step5": "npx html-inline work/all.html -b doc -o dist/all.html",
"build:step6": "npx tsx scripts/convert.ts",
"build": "npm run build:step1 && npm run build:step2 && npm run build:step3 && npm run build:step4 && npm run build:step5 && npm run build:step6"
},
"author": "rca",
"license": "MIT",