90 lines
2.5 KiB
JSON
90 lines
2.5 KiB
JSON
{
|
|
"name": "pdfmake",
|
|
"version": "0.2.18",
|
|
"description": "Client/server side PDF printing in pure JavaScript",
|
|
"main": "src/printer.js",
|
|
"browser": "build/pdfmake.js",
|
|
"directories": {
|
|
"test": "tests"
|
|
},
|
|
"dependencies": {
|
|
"@foliojs-fork/linebreak": "^1.1.2",
|
|
"@foliojs-fork/pdfkit": "^0.15.3",
|
|
"iconv-lite": "^0.6.3",
|
|
"xmldoc": "^1.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.26.4",
|
|
"@babel/core": "^7.26.0",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.26.3",
|
|
"@babel/preset-env": "^7.26.0",
|
|
"@eslint/js": "^9.17.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.17.0",
|
|
"eslint-plugin-jsdoc": "^50.6.1",
|
|
"expose-loader": "^5.0.0",
|
|
"file-saver": "^2.0.5",
|
|
"globals": "^15.14.0",
|
|
"mocha": "^11.0.1",
|
|
"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.11",
|
|
"transform-loader": "^0.2.4",
|
|
"util": "^0.12.5",
|
|
"webpack": "^5.97.1",
|
|
"webpack-cli": "^6.0.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"scripts": {
|
|
"test": "run-s build mocha",
|
|
"build": "run-s build:3rdparty build:browser",
|
|
"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:browser": "webpack",
|
|
"build:browser-standard-fonts": "webpack --config webpack-standardfonts.config.js",
|
|
"build:vfs": "node build-vfs.js \"./examples/fonts\"",
|
|
"build:examples": "node build-examples.js",
|
|
"lint": "eslint \"./src/**/*.js\" \"./tests/**/*.js\" \"./examples/**/*.js\"",
|
|
"mocha": "mocha --reporter spec \"./tests/**/*.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"
|
|
]
|
|
}
|
|
}
|
|
}
|