-
Notifications
You must be signed in to change notification settings - Fork 2k
/
package.json
93 lines (93 loc) · 3.43 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": "pdfmake",
"version": "0.3.0-beta.12",
"description": "Client/server side PDF printing in pure JavaScript",
"main": "js/index.js",
"esnext": "src/index.js",
"browser": "build/pdfmake.js",
"directories": {
"test": "tests"
},
"dependencies": {
"@foliojs-fork/linebreak": "^1.1.2",
"@foliojs-fork/pdfkit": "^0.15.1",
"iconv-lite": "^0.6.3",
"xmldoc": "^1.3.0"
},
"devDependencies": {
"@babel/cli": "^7.25.9",
"@babel/core": "^7.26.0",
"@babel/plugin-transform-modules-commonjs": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@eslint/js": "^9.14.0",
"assert": "^2.1.0",
"babel-loader": "^9.2.1",
"brfs": "^2.0.2",
"browserify-zlib": "^0.2.0",
"buffer": "6.0.3",
"core-js": "3.19.0",
"eslint": "^9.14.0",
"eslint-plugin-jsdoc": "^50.4.3",
"expose-loader": "^5.0.0",
"file-saver": "^2.0.5",
"globals": "^15.11.0",
"mocha": "^10.8.2",
"npm-run-all": "^4.1.5",
"process": "^0.11.10",
"rewire": "^7.0.0",
"shx": "^0.3.4",
"sinon": "^19.0.2",
"source-map-loader": "^5.0.0",
"stream-browserify": "^3.0.0",
"string-replace-webpack-plugin": "^0.1.3",
"svg-to-pdfkit": "^0.1.8",
"terser-webpack-plugin": "^5.3.10",
"transform-loader": "^0.2.4",
"util": "^0.12.5",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"engines": {
"node": ">=18"
},
"scripts": {
"test": "run-s build mocha lint",
"build": "run-s build:clean build:3rdparty build:node build:browser build:standard-fonts build:fonts build:vfs",
"build:clean": "shx rm -rf js build",
"build:3rdparty": "shx cp node_modules/svg-to-pdfkit/source.js src/3rd-party/svg-to-pdfkit/source.js && shx cp node_modules/svg-to-pdfkit/LICENSE src/3rd-party/svg-to-pdfkit/LICENSE",
"build:node": "babel src --out-dir js",
"build:browser": "webpack",
"build:vfs": "node build-vfs.js \"./examples/fonts\"",
"build:examples": "node build-examples.js",
"build:standard-fonts": "shx mkdir -p build/standard-fonts && brfs \"./src/browser-extensions/standard-fonts/Courier.js\" > build/standard-fonts/Courier.js && brfs \"./src/browser-extensions/standard-fonts/Helvetica.js\" > build/standard-fonts/Helvetica.js && brfs \"./src/browser-extensions/standard-fonts/Times.js\" > build/standard-fonts/Times.js && brfs \"./src/browser-extensions/standard-fonts/Symbol.js\" > build/standard-fonts/Symbol.js && brfs \"./src/browser-extensions/standard-fonts/ZapfDingbats.js\" > build/standard-fonts/ZapfDingbats.js",
"build:fonts": "shx mkdir -p build/fonts && shx mkdir -p build/fonts/Roboto && shx cp -r fonts/Roboto/*.* build/fonts/Roboto && brfs \"./src/browser-extensions/fonts/Roboto.js\" > build/fonts/Roboto.js",
"lint": "eslint \"./src/**/*.js\" \"./tests/**/*.js\" \"./examples/**/*.js\" \"./standard-fonts/**/*.js\" \"./fonts/**/*.js\"",
"mocha": "mocha --reporter spec \"./tests/**/*.spec.js\"",
"playground": "node dev-playground/server.js"
},
"repository": {
"type": "git",
"url": "git://github.com/bpampuch/pdfmake.git"
},
"keywords": [
"pdf",
"javascript",
"printing",
"layout"
],
"author": "Bartek Pampuch <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/bpampuch/pdfmake/issues"
},
"homepage": "http://pdfmake.org",
"config": {
"blanket": {
"pattern": "src",
"data-cover-never": [
"node_modules",
"tests"
]
}
}
}