UNPKG

html-pdf-chrome

Version:

HTML to PDF and image converter via Chrome/Chromium

83 lines (82 loc) 2.21 kB
{ "name": "html-pdf-chrome", "version": "0.8.4", "description": "HTML to PDF and image converter via Chrome/Chromium", "main": "dist/index.js", "scripts": { "all": "npm run clean && npm run build && npm run lint && npm run test", "build": "tsc", "clean": "rimraf coverage dist", "lint": "eslint . --ext .ts", "prepublishOnly": "npm run clean && npm run build && npm run test", "test": "nyc mocha" }, "author": "Seth Westphal <seth@sethwestphal.com> (http://www.sethwestphal.com/)", "homepage": "https://github.com/westy92/html-pdf-chrome", "funding": "https://github.com/sponsors/westy92", "repository": { "type": "git", "url": "git://github.com/westy92/html-pdf-chrome" }, "bugs": { "url": "https://github.com/westy92/html-pdf-chrome/issues" }, "keywords": [ "html", "pdf", "html-pdf", "chrome", "chromium", "headless", "typescript", "windows", "mac", "linux", "markdown", "screenshot", "image", "nodejs" ], "license": "MIT", "typings": "dist/index.d.ts", "engines": { "node": ">= 14" }, "dependencies": { "@types/chrome-remote-interface": "^0.31.9", "chrome-launcher": "^0.15.1", "chrome-remote-interface": "^0.32.1" }, "devDependencies": { "@types/chai": "^4.0.1", "@types/chai-string": "^1.1.30", "@types/mocha": "^10.0.1", "@types/mock-fs": "^4.10.0", "@types/node": "^18.15.5", "@types/pixelmatch": "^5.2.4", "@types/pngjs": "^6.0.1", "@types/proxyquire": "^1.3.28", "@types/sinon": "^10.0.0", "@types/sinon-chai": "^3.2.0", "@types/source-map-support": "^0.5.3", "@typescript-eslint/eslint-plugin": "^5.56.0", "@typescript-eslint/parser": "^5.56.0", "chai": "^4.1.0", "chai-string": "^1.3.0", "eslint": "^8.36.0", "get-port": "^5.0.0", "mocha": "^10.0.0", "mock-fs": "^5.0.0", "nyc": "^15.1.0", "pdfjs-dist": "^3.4.120", "pixelmatch": "^5.3.0", "pngjs": "^7.0.0", "proxyquire": "^2.1.3", "rimraf": "^4.1.1", "sinon": "^15.0.1", "sinon-chai": "^3.0.0", "source-map-support": "^0.5.19", "ts-node": "^10.0.0", "typescript": "^5.0.2" } }