{ "name": "md-to-pdf", "version": "5.2.5", "description": "CLI tool for converting Markdown files to PDF.", "keywords": [ "markdown-to-pdf", "cli", "pdf-generation", "documentation", "assignments", "homework", "markdown", "pdf", "puppeteer", "headless-chrome", "html-to-pdf" ], "engines": { "node": ">=12.0" }, "files": [ "/dist", "markdown.css" ], "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "start": "tsc -p tsconfig.build.json --watch", "build": "tsc -p tsconfig.build.json", "clean": "rm -rf dist", "prepack": "npm run clean && npm run build", "lint": "xo", "test": "xo && tsc -p tsconfig.type-test.json && nyc ava src/test/lib.spec.ts && ava src/test/api.spec.ts && ava src/test/cli.spec.ts --timeout=1m", "release": "npm test && npx standard-version --infile=changelog.md && git push --follow-tags origin master && npm publish", "loc": "npx cloc src --exclude-dir=test --by-file" }, "bin": { "md-to-pdf": "dist/cli.js", "md2pdf": "dist/cli.js" }, "author": "Simon Haenisch (https://github.com/simonhaenisch)", "license": "MIT", "repository": "simonhaenisch/md-to-pdf", "homepage": "https://github.com/simonhaenisch/md-to-pdf#readme", "dependencies": { "arg": "^5.0.2", "chalk": "^4.1.2", "chokidar": "^3.5.2", "get-port": "^5.1.1", "get-stdin": "^8.0.0", "gray-matter": "^4.0.3", "highlight.js": "^11.7.0", "iconv-lite": "^0.6.3", "listr": "^0.14.3", "marked": "^4.2.12", "puppeteer": ">=8.0.0", "semver": "^7.3.7", "serve-handler": "^6.1.3" }, "devDependencies": { "@types/listr": "0.14.5", "@types/marked": "4.3.0", "@types/semver": "7.5.4", "@types/serve-handler": "6.1.3", "ava": "3.15.0", "nyc": "15.1.0", "pdfjs-dist": "3.6.172", "prettier": "2.8.8", "prettier-plugin-organize-imports": "3.2.3", "tap-xunit": "2.4.1", "ts-node": "10.9.1", "tsd": "0.29.0", "typescript": "5.1.6", "xo": "0.39.1" }, "ava": { "extensions": [ "ts" ], "require": [ "ts-node/register" ], "verbose": true }, "prettier": { "printWidth": 120, "singleQuote": true, "tabWidth": 2, "trailingComma": "all", "useTabs": true, "bracketSpacing": true, "overrides": [ { "files": [ "package.json" ], "options": { "useTabs": false } } ] }, "xo": { "prettier": true, "ignores": [ "src/test/mathjax" ], "rules": { "@typescript-eslint/explicit-function-return-type": "off", "@typescript-eslint/no-confusing-void-expression": "off", "@typescript-eslint/no-implicit-any-catch": "off", "@typescript-eslint/no-var-requires": "off", "@typescript-eslint/prefer-readonly-parameter-types": "off", "camelcase": "off", "capitalized-comments": "off", "no-await-in-loop": "off", "no-promise-executor-return": "off", "no-redeclare": "off", "node/no-unsupported-features/es-syntax": "off", "unicorn/no-array-callback-reference": "off", "unicorn/no-fn-reference-in-iterator": "off", "unicorn/string-content": "off" }, "overrides": [ { "files": "**/*.spec.ts", "rules": { "@typescript-eslint/no-non-null-assertion": "off", "@typescript-eslint/no-unsafe-argument": "off" } } ] } }