md2pdf-meow/package.json
2024-08-12 17:04:33 +09:00

31 lines
1.2 KiB
JSON

{
"name": "md2pdf-mod",
"version": "1.0.0",
"description": "Convert Markdown documents to PDF (modified version)",
"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 doc/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": "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:doc-6"
},
"author": "rca",
"license": "MIT",
"devDependencies": {
"anchor-markdown-header": "^0.5.7",
"doctoc": "^1.4.0",
"ejs": "^2.6.1",
"eslint": "^5.16.0",
"html-inline": "^1.2.0",
"htmltidy2": "^0.3.0",
"markdown-it": "^8.4.2",
"markdown-it-implicit-figures": "^0.9.0",
"markdown-it-named-headers": "0.0.4",
"minicat": "^1.0.0",
"tsc": "^2.0.4",
"typescript": "^5.5.4"
}
}