docs-operation/package.json

35 lines
1.3 KiB
JSON
Raw Normal View History

2024-08-24 05:43:44 +00:00
{
"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",
2024-08-24 05:53:34 +00:00
"build:step5": "npx html-inline work/all.html -b ./ -o dist/all.html",
2024-08-24 05:43:44 +00:00
"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"
}
}