UNPKG

2.76 kBJSONView Raw
1{
2 "name": "jspdf-autotable",
3 "version": "3.8.4",
4 "description": "Generate pdf tables with javascript (jsPDF plugin)",
5 "main": "dist/jspdf.plugin.autotable.js",
6 "exports": {
7 ".": {
8 "types": "./dist/index.d.ts",
9 "default": "./dist/jspdf.plugin.autotable.js"
10 },
11 "./es": {
12 "types": "./dist/index.d.ts",
13 "default": "./dist/jspdf.plugin.autotable.mjs"
14 }
15 },
16 "types": "dist/index",
17 "files": [
18 "dist/*"
19 ],
20 "browserslist": [
21 "last 2 versions",
22 "> 1%",
23 "IE 11"
24 ],
25 "directories": {
26 "example": "examples"
27 },
28 "peerDependencies": {
29 "jspdf": "^2.5.1"
30 },
31 "prettier": {
32 "semi": false,
33 "singleQuote": true
34 },
35 "devDependencies": {
36 "@rollup/plugin-typescript": "^11.1.5",
37 "@types/mocha": "^10.0.2",
38 "@typescript-eslint/eslint-plugin": "^6.7.5",
39 "@typescript-eslint/parser": "^6.7.5",
40 "dts-bundle-generator": "^8.0.1",
41 "eslint": "^8.51.0",
42 "eslint-config-prettier": "^9.0.0",
43 "eslint-plugin-prettier": "^5.0.0",
44 "jsdom": "^22.1.0",
45 "jspdf": "^2.5.1",
46 "mocha": "^10.2.0",
47 "npm-check-updates": "^16.14.5",
48 "prettier": "^3.0.3",
49 "rollup": "^4.0.2",
50 "ts-loader": "^9.5.0",
51 "ts-node": "^10.9.1",
52 "tslib": "^2.6.2",
53 "typescript": "^5.2.2",
54 "webpack": "^5.88.2",
55 "webpack-cli": "^5.1.4",
56 "webpack-dev-server": "^4.15.1"
57 },
58 "scripts": {
59 "start": "webpack serve --config webpack.config.mjs --mode=development",
60 "checkout-pr": "git fetch origin pull/$PR/head:pr$PR && git checkout pr$PR",
61 "start-external": "webpack serve --config webpack.config.mjs --mode=development --host 0.0.0.0",
62 "build": "webpack --mode=production && webpack --mode=production --env minified && npm run buildes && npm run types",
63 "buildes": "rollup --config rollup.config.mjs",
64 "lint": "eslint . --ext .ts",
65 "test": "mocha -r ts-node/register test/test*.ts",
66 "format": "prettier --write src",
67 "version": "npm test && npm run build && git add -A dist",
68 "hosting": "git push origin master:gh-pages -f",
69 "deploy": "git push --follow-tags && npm run hosting && npm publish",
70 "update-libs": "cd examples/nodejs && ncu -u && npm i && cd ../typescript && ncu -u && npm i && cd ../webpack && ncu -u && npm i",
71 "types": "dts-bundle-generator src/main.ts -o ./dist/index.d.ts"
72 },
73 "repository": {
74 "type": "git",
75 "url": "https://github.com/simonbengtsson/jsPDF-AutoTable.git"
76 },
77 "keywords": [
78 "pdf",
79 "table",
80 "jspdf"
81 ],
82 "author": "Simon Bengtsson <dev@simonbengtsson.com>",
83 "license": "MIT",
84 "bugs": {
85 "url": "https://github.com/simonbengtsson/jsPDF-AutoTable/issues"
86 },
87 "homepage": "https://simonbengtsson.github.io/jsPDF-AutoTable"
88}