mirror of
https://github.com/foliojs/pdfkit.git
synced 2025-12-08 20:15:54 +00:00
Co-authored-by: Franklin Strube <fstrube@morevang.com> Co-authored-by: Luiz Américo Pereira Câmara <blikblum@users.noreply.github.com>
93 lines
2.5 KiB
JSON
93 lines
2.5 KiB
JSON
{
|
|
"name": "pdfkit",
|
|
"description": "A PDF generation library for Node.js",
|
|
"keywords": [
|
|
"pdf",
|
|
"pdf writer",
|
|
"pdf generator",
|
|
"graphics",
|
|
"document",
|
|
"vector"
|
|
],
|
|
"version": "0.14.0",
|
|
"homepage": "http://pdfkit.org/",
|
|
"author": {
|
|
"name": "Devon Govett",
|
|
"email": "devongovett@gmail.com",
|
|
"url": "http://badassjs.com/"
|
|
},
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/foliojs/pdfkit.git"
|
|
},
|
|
"bugs": "https://github.com/foliojs/pdfkit/issues",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.11.6",
|
|
"@babel/plugin-external-helpers": "^7.10.4",
|
|
"@babel/preset-env": "^7.11.5",
|
|
"babel-jest": "^26.3.0",
|
|
"blob-stream": "^0.1.2",
|
|
"brace": "^0.11.1",
|
|
"brfs": "~2.0.2",
|
|
"browserify": "^16.5.0",
|
|
"canvas": "^2.11.2",
|
|
"codemirror": "~5.49.2",
|
|
"eslint": "^7.8.1",
|
|
"gh-pages": "^3.1.0",
|
|
"iconv-lite": "^0.5.0",
|
|
"jest": "^29.4.3",
|
|
"jest-environment-jsdom": "^29.4.3",
|
|
"jest-image-snapshot": "^6.1.0",
|
|
"markdown": "~0.5.0",
|
|
"pdfjs-dist": "^2.4.456",
|
|
"prettier": "1.19.1",
|
|
"pug": "^2.0.4",
|
|
"rollup": "^1.27.0",
|
|
"rollup-plugin-babel": "^4.3.3",
|
|
"rollup-plugin-cpy": "^2.0.1"
|
|
},
|
|
"dependencies": {
|
|
"crypto-js": "^4.2.0",
|
|
"fontkit": "^1.8.1",
|
|
"jpeg-exif": "^1.1.4",
|
|
"linebreak": "^1.0.2",
|
|
"png-js": "^1.0.0"
|
|
},
|
|
"scripts": {
|
|
"prepublishOnly": "npm run build",
|
|
"build": "rollup -c && browserify --standalone PDFDocument --ignore crypto --ignore iconv-lite js/pdfkit.js > js/pdfkit.standalone.js",
|
|
"browserify-example": "browserify examples/browserify/browser.js > examples/browserify/bundle.js",
|
|
"pdf-guide": "node docs/generate.js",
|
|
"website": "node docs/generate_website.js",
|
|
"publish-website": "node docs/publish_website.js",
|
|
"docs": "npm run pdf-guide && npm run website && npm run browserify-example",
|
|
"lint": "eslint {lib,tests}/**/*.js",
|
|
"prettier": "prettier {lib,tests,examples,docs}/**/*.js",
|
|
"test": "jest -i",
|
|
"test:visual": "jest visual/ -i",
|
|
"test:unit": "jest unit/"
|
|
},
|
|
"main": "js/pdfkit.js",
|
|
"module": "js/pdfkit.es5.js",
|
|
"esnext": "js/pdfkit.esnext.js",
|
|
"browserify": {
|
|
"transform": [
|
|
"brfs"
|
|
]
|
|
},
|
|
"engine": [
|
|
"node >= v6.0.0"
|
|
],
|
|
"jest": {
|
|
"testEnvironment": "jest-environment-jsdom",
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"<rootDir>/examples/"
|
|
],
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/tests/unit/setupTests.js"
|
|
]
|
|
}
|
|
}
|