mdpdf
Version:
Markdown to PDF command line converter
71 lines (70 loc) • 2.01 kB
JSON
{
"name": "mdpdf",
"version": "3.1.0",
"description": "Markdown to PDF command line converter",
"type": "module",
"main": "./dist/src/index.js",
"scripts": {
"build": "tsc && chmod +x ./dist/bin/index.js && npm run copy-assets",
"copy-assets": "mkdir -p dist/src/assets dist/src/layouts && cp -R src/assets/* dist/src/assets/ && cp -R src/layouts/* dist/src/layouts/",
"lint": "prettier --trailing-comma es5 --single-quote --list-different '{src,tests,bin}/**/*.{ts,js}'",
"lint-fix": "prettier --trailing-comma es5 --single-quote --list-different '{src,tests,bin}/**/*.{ts,js}' --write",
"test": "npm run build && vitest run",
"test:watch": "npm run build && vitest",
"dev": "tsc --watch",
"prepublishOnly": "npm run build"
},
"bin": {
"mdpdf": "dist/bin/index.js"
},
"files": [
"dist/bin",
"dist/src",
"src/assets",
"src/layouts"
],
"repository": {
"type": "git",
"url": "git+https://github.com/elliotblackburn/mdpdf.git"
},
"keywords": [
"markdown",
"md",
"pdf",
"converter"
],
"author": {
"name": "Elliot Blackburn",
"email": "Elliot.blackburn@gmail.com",
"url": "http://www.elliotblackburn.com"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/elliotblackburn/mdpdf/issues"
},
"homepage": "https://github.com/elliotblackburn/mdpdf#readme",
"dependencies": {
"cheerio": "1.0.0-rc.12",
"file-url": "^4.0.0",
"handlebars": "^4.7.8",
"loophole": "^1.1.0",
"meow": "^13.2.0",
"puppeteer": "^24.7.2",
"showdown": "^2.1.0",
"showdown-emoji": "^3.0.0",
"showdown-highlight": "^3.1.0"
},
"devDependencies": {
"@types/chai": "^5.2.1",
"@types/handlebars": "^4.0.40",
"@types/node": "^22.14.1",
"@types/puppeteer": "^5.4.7",
"@types/showdown": "^2.0.6",
"chai": "^5.2.0",
"execa": "^9.5.2",
"prettier": "^3.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"vitest": "^3.1.2"
}
}