mirror of
https://github.com/r-ca/md2pdf-meow.git
synced 2024-11-26 17:23:14 +00:00
fix
This commit is contained in:
parent
b9259ca1c8
commit
98e0fc0d8c
19
package.json
19
package.json
|
@ -1,16 +1,15 @@
|
||||||
{
|
{
|
||||||
"name": "md2pdf-mod",
|
"name": "md2pdf-meow",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "Convert Markdown documents to PDF (modified version)",
|
"description": "Convert Markdown documents to PDF🐱",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:doc-1": "npx minicat documents/*.md > work/all.md",
|
"build:step1": "npx minicat documents/*.md > work/all.md",
|
||||||
"build:doc-2": "npx doctoc --notitle --maxlevel 3 work/all.md",
|
"build:step2": "npx doctoc --notitle --maxlevel 3 work/all.md",
|
||||||
"build:doc-3": "node scripts/mdit.js work/all.md work/all_md.html",
|
"build:step3": "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:step4": "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:step5": "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:step6": "npx tsx scripts/convert.ts",
|
||||||
"build:test": "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"
|
||||||
"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"
|
|
||||||
},
|
},
|
||||||
"author": "rca",
|
"author": "rca",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user