UNPKG

kdp-book-generator

Version:

Generate KDP-compliant PDFs and EPUBs from Markdown for Amazon book publishing

86 lines (85 loc) 2.27 kB
{ "name": "kdp-book-generator", "version": "1.0.4", "description": "Generate KDP-compliant PDFs and EPUBs from Markdown for Amazon book publishing", "keywords": [ "kdp", "amazon", "pdf", "epub", "markdown", "book", "publishing", "self-publishing", "print-on-demand", "ebook" ], "homepage": "https://github.com/zoyth/kdp-book-generator#readme", "bugs": { "url": "https://github.com/zoyth/kdp-book-generator/issues" }, "repository": { "type": "git", "url": "git+https://github.com/zoyth/kdp-book-generator.git" }, "license": "MIT", "author": "Francois Lane <francois@zoyth.com>", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "kdp-generator": "dist/cli/index.js" }, "files": [ "dist", "README.md", "LICENSE", "CHANGELOG.md" ], "scripts": { "build": "tsc", "clean": "rm -rf dist coverage", "dev": "ts-node src/cli/index.ts", "format": "prettier --write \"src/**/*.ts\"", "format:check": "prettier --check \"src/**/*.ts\"", "lint": "eslint \"src/**/*.ts\"", "lint:fix": "eslint \"src/**/*.ts\" --fix", "postinstall": "npx playwright install chromium", "prebuild": "npm run clean", "prepublishOnly": "npm run build", "start": "node dist/cli/index.js", "test": "jest", "test:coverage": "jest --coverage", "test:watch": "jest --watch", "typecheck": "tsc --noEmit" }, "dependencies": { "commander": "^11.1.0", "epub-gen-memory": "^1.1.2", "jszip": "^3.10.1", "markdown-it": "^14.0.0", "markdown-it-anchor": "^8.6.7", "markdown-it-table-of-contents": "^0.6.0", "playwright": "^1.40.1", "uuid": "^11.1.0", "yaml": "^2.3.4" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/markdown-it": "^13.0.7", "@types/node": "^20.10.5", "@types/uuid": "^10.0.0", "@typescript-eslint/eslint-plugin": "^6.16.0", "@typescript-eslint/parser": "^6.16.0", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.2", "jest": "^29.7.0", "prettier": "^3.1.1", "ts-jest": "^29.4.0", "ts-node": "^10.9.2", "typescript": "^5.3.3" }, "engines": { "node": ">=18.0.0" } }