forked from bpampuch/pdfmake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 3.34 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
{
"name": "pdfmake",
"version": "0.3.0-beta.4",
"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.1",
"@foliojs-fork/pdfkit": "^0.13.0",
"iconv-lite": "^0.6.3",
"xmldoc": "^1.1.2"
},
"devDependencies": {
"@babel/cli": "^7.16.7",
"@babel/core": "^7.16.7",
"@babel/plugin-transform-modules-commonjs": "^7.16.7",
"@babel/preset-env": "^7.16.7",
"assert": "^2.0.0",
"babel-loader": "^8.2.3",
"brfs": "^2.0.2",
"browserify-zlib": "^0.2.0",
"buffer": "6.0.3",
"core-js": "3.19.0",
"eslint": "^8.5.0",
"eslint-plugin-jsdoc": "^37.4.2",
"expose-loader": "^3.1.0",
"file-saver": "^2.0.5",
"mocha": "^9.1.3",
"npm-run-all": "^4.1.5",
"process": "^0.11.10",
"rewire": "^6.0.0",
"shx": "^0.3.3",
"sinon": "^12.0.1",
"stream-browserify": "^3.0.0",
"string-replace-webpack-plugin": "^0.1.3",
"svg-to-pdfkit": "^0.1.8",
"terser-webpack-plugin": "^5.3.0",
"transform-loader": "^0.2.4",
"util": "^0.12.4",
"webpack": "^5.65.0",
"webpack-cli": "^4.9.1"
},
"engines": {
"node": ">=14"
},
"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 <bartosz.pampuch@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/bpampuch/pdfmake/issues"
},
"homepage": "http://pdfmake.org",
"config": {
"blanket": {
"pattern": "src",
"data-cover-never": [
"node_modules",
"tests"
]
}
}
}