forked from foliojs/pdfkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 2.47 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
{
"name": "pdfkit",
"description": "A PDF generation library for Node.js",
"keywords": [
"pdf",
"pdf writer",
"pdf generator",
"graphics",
"document",
"vector"
],
"version": "0.13.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.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.0",
"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.0.0",
"fontkit": "^1.8.1",
"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"
]
}
}