2024-08-12 07:56:38 +00:00
|
|
|
{
|
2024-08-12 12:50:55 +00:00
|
|
|
"name": "md2pdf-meow",
|
2024-08-12 07:56:38 +00:00
|
|
|
"version": "1.0.0",
|
2024-08-12 12:50:55 +00:00
|
|
|
"description": "Convert Markdown documents to PDF🐱",
|
2024-08-12 07:56:38 +00:00
|
|
|
"scripts": {
|
2024-08-12 12:50:55 +00:00
|
|
|
"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"
|
2024-08-12 07:56:38 +00:00
|
|
|
},
|
|
|
|
"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",
|
2024-08-12 08:04:33 +00:00
|
|
|
"minicat": "^1.0.0",
|
|
|
|
"tsc": "^2.0.4",
|
|
|
|
"typescript": "^5.5.4"
|
2024-08-12 08:05:35 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-08-12 08:21:13 +00:00
|
|
|
"puppeteer-html-pdf": "^4.0.8",
|
|
|
|
"tsx": "^4.17.0"
|
2024-08-12 07:56:38 +00:00
|
|
|
}
|
|
|
|
}
|