generated from r-ca/md2pdf-meow
35 lines
1.3 KiB
JSON
35 lines
1.3 KiB
JSON
{
|
|
"name": "md2pdf-meow",
|
|
"version": "1.0.0",
|
|
"description": "Convert Markdown documents to PDF🐱",
|
|
"scripts": {
|
|
"build:step1": "npx minicat $(sed 's|^|documents/|' documents/files.txt) > 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 ./ -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",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"puppeteer-html-pdf": "^4.0.8",
|
|
"tsx": "^4.17.0"
|
|
}
|
|
}
|