-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
package.json
93 lines (93 loc) · 2.55 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "pdfkit",
"description": "A PDF generation library for Node.js",
"keywords": [
"pdf",
"pdf writer",
"pdf generator",
"graphics",
"document",
"vector"
],
"version": "0.16.0",
"homepage": "http://pdfkit.org/",
"author": {
"name": "Devon Govett",
"email": "[email protected]",
"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.26.0",
"@babel/plugin-external-helpers": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@eslint/js": "^9.17.0",
"@rollup/plugin-babel": "^6.0.4",
"babel-jest": "^29.7.0",
"blob-stream": "^0.1.3",
"brace": "^0.11.1",
"brfs": "~2.0.2",
"browserify": "^17.0.1",
"canvas": "^3.0.0",
"codemirror": "~5.65.18",
"eslint": "^9.17.0",
"gh-pages": "^6.2.0",
"globals": "^15.14.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-image-snapshot": "^6.4.0",
"markdown": "~0.5.0",
"pdfjs-dist": "^2.14.305",
"prettier": "3.4.2",
"pug": "^3.0.3",
"rollup": "^2.79.2",
"rollup-plugin-copy": "^3.5.0"
},
"dependencies": {
"crypto-js": "^4.2.0",
"fontkit": "^2.0.4",
"jpeg-exif": "^1.1.4",
"linebreak": "^1.1.0",
"png-js": "^1.0.0"
},
"scripts": {
"prepublishOnly": "npm run build",
"build": "rollup -c && npm run build-standalone",
"build-standalone": "browserify --standalone PDFDocument --ignore crypto 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 --env=node",
"test:visual": "jest visual/ -i --env=node",
"test:unit": "jest unit/ --env=node"
},
"main": "js/pdfkit.js",
"module": "js/pdfkit.es.js",
"browserify": {
"transform": [
"brfs"
]
},
"engine": [
"node >= v18.0.0"
],
"jest": {
"testEnvironment": "jest-environment-jsdom",
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/examples/"
],
"setupFilesAfterEnv": [
"<rootDir>/tests/unit/setupTests.js"
]
}
}