1 | {
|
2 | "name": "pdfkit",
|
3 | "description": "A PDF generation library for Node.js",
|
4 | "keywords": [
|
5 | "pdf",
|
6 | "pdf writer",
|
7 | "pdf generator",
|
8 | "graphics",
|
9 | "document",
|
10 | "vector"
|
11 | ],
|
12 | "version": "0.15.0",
|
13 | "homepage": "http://pdfkit.org/",
|
14 | "author": {
|
15 | "name": "Devon Govett",
|
16 | "email": "devongovett@gmail.com",
|
17 | "url": "http://badassjs.com/"
|
18 | },
|
19 | "license": "MIT",
|
20 | "repository": {
|
21 | "type": "git",
|
22 | "url": "https://github.com/foliojs/pdfkit.git"
|
23 | },
|
24 | "bugs": "https://github.com/foliojs/pdfkit/issues",
|
25 | "devDependencies": {
|
26 | "@babel/core": "^7.11.6",
|
27 | "@babel/plugin-external-helpers": "^7.10.4",
|
28 | "@babel/preset-env": "^7.11.5",
|
29 | "babel-jest": "^26.3.0",
|
30 | "blob-stream": "^0.1.2",
|
31 | "brace": "^0.11.1",
|
32 | "brfs": "~2.0.2",
|
33 | "browserify": "^16.5.0",
|
34 | "canvas": "^2.11.2",
|
35 | "codemirror": "~5.49.2",
|
36 | "eslint": "^7.8.1",
|
37 | "gh-pages": "^3.1.0",
|
38 | "iconv-lite": "^0.5.0",
|
39 | "jest": "^29.4.3",
|
40 | "jest-environment-jsdom": "^29.4.3",
|
41 | "jest-image-snapshot": "^6.1.0",
|
42 | "markdown": "~0.5.0",
|
43 | "pdfjs-dist": "^2.4.456",
|
44 | "prettier": "1.19.1",
|
45 | "pug": "^2.0.4",
|
46 | "rollup": "^1.27.0",
|
47 | "rollup-plugin-babel": "^4.3.3",
|
48 | "rollup-plugin-cpy": "^2.0.1"
|
49 | },
|
50 | "dependencies": {
|
51 | "crypto-js": "^4.2.0",
|
52 | "fontkit": "^1.8.1",
|
53 | "jpeg-exif": "^1.1.4",
|
54 | "linebreak": "^1.0.2",
|
55 | "png-js": "^1.0.0"
|
56 | },
|
57 | "scripts": {
|
58 | "prepublishOnly": "npm run build",
|
59 | "build": "rollup -c && npm run build-standalone",
|
60 | "build-standalone": "browserify --standalone PDFDocument --ignore crypto --ignore iconv-lite js/pdfkit.js > js/pdfkit.standalone.js",
|
61 | "browserify-example": "browserify examples/browserify/browser.js > examples/browserify/bundle.js",
|
62 | "pdf-guide": "node docs/generate.js",
|
63 | "website": "node docs/generate_website.js",
|
64 | "publish-website": "node docs/publish_website.js",
|
65 | "docs": "npm run pdf-guide && npm run website && npm run browserify-example",
|
66 | "lint": "eslint {lib,tests}/**/*.js",
|
67 | "prettier": "prettier {lib,tests,examples,docs}/**/*.js",
|
68 | "test": "jest -i",
|
69 | "test:visual": "jest visual/ -i",
|
70 | "test:unit": "jest unit/"
|
71 | },
|
72 | "main": "js/pdfkit.js",
|
73 | "module": "js/pdfkit.es.js",
|
74 | "browserify": {
|
75 | "transform": [
|
76 | "brfs"
|
77 | ]
|
78 | },
|
79 | "engine": [
|
80 | "node >= v18.0.0"
|
81 | ],
|
82 | "jest": {
|
83 | "testEnvironment": "jest-environment-jsdom",
|
84 | "testPathIgnorePatterns": [
|
85 | "/node_modules/",
|
86 | "<rootDir>/examples/"
|
87 | ],
|
88 | "setupFilesAfterEnv": [
|
89 | "<rootDir>/tests/unit/setupTests.js"
|
90 | ]
|
91 | }
|
92 | } |
\ | No newline at end of file |