-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.73 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 2.73 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "html2pdfmake",
"version": "0.0.10",
"description": "HTML/DOM to pdfmake",
"type": "module",
"author": "Daniil Tomilow",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/dantio/html2pdfmake.git"
},
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
}
},
"./lib/*": {
"import": {
"types": "./dist/*",
"default": "./dist/*"
},
"require": {
"types": "./lib/*",
"default": "./lib/*"
}
},
"./*": {
"import": {
"types": "./dist/*",
"default": "./dist/*"
},
"require": {
"types": "./lib/*",
"default": "./lib/*"
}
},
"./package.json": "./package.json"
},
"module": "./dist/index.js",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"browser": "./lib/html2pdfmake.js",
"browser:esm": "./dist/html2pdfmake.mjs",
"browserslist": [
"> 0.5%",
"last 2 versions",
"not dead"
],
"scripts": {
"build": "rimraf lib dist && tsc && concurrently \"npm run build:cjs\" \"npm run build:browser\"",
"test": "mocha --reporter=dot",
"lint": "eslint ./src --ext .ts ",
"report": "c8 npm run test",
"report:summary": "c8 --reporter=lcov --reporter=text-summary npm run test",
"watch:ts": "tsc --watch --project tsconfig.watch.json",
"watch:rollup": "rollup -w -c",
"watch": "concurrently \"npm run watch:ts\" \"npm run watch:rollup\"",
"cjs:fix": "node -e \"require('fs').writeFileSync('lib/package.json', JSON.stringify({type: 'commonjs'}, null, 2))\"",
"build:cjs": "tsc --project tsconfig.csj.json && npm run cjs:fix",
"build:browser": "rollup -c",
"prerelease": "npm run lint && npm run test && npm run build",
"release": "standard-version"
},
"keywords": [
"pdfmake",
"html2pdfmake",
"pdf",
"html",
"dom"
],
"dependencies": {
"@types/pdfmake": "^0.1.21"
},
"devDependencies": {
"@types/chai": "^4.3.1",
"@types/jsdom": "^16.2.14",
"@types/mocha": "^9.1.1",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"c8": "^7.11.3",
"chai": "^4.3.6",
"concurrently": "^7.1.0",
"eslint": "^8.14.0",
"eslint-plugin-import": "^2.26.0",
"jsdom": "^19.0.0",
"mocha": "^9.2.2",
"rimraf": "^3.0.2",
"rollup": "^2.70.2",
"standard-version": "^9.3.2",
"ts-node": "^10.7.0",
"tslib": "^2.3.1",
"typescript": "^4.6.3"
},
"includes": [
"dist",
"lib"
],
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
}
}