forked from lmn1919/dompdf.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.85 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 2.85 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
{
"title": "dompdf.js",
"name": "dompdf.js",
"version": "2.0.0",
"description": "Pure-frontend DOM-to-PDF engine (WASM-backed, no jsPDF).",
"main": "dist/dompdf.js",
"module": "dist/esm/dompdf.esm.js",
"types": "dist/types/index.d.ts",
"typings": "dist/types/index.d.ts",
"browser": "dist/dompdf.js",
"files": [
"dist",
"LICENSE",
"README.md",
"README_CN.md"
],
"keywords": [
"pdf",
"dom-to-pdf",
"wasm",
"webassembly",
"typescript",
"browser",
"frontend",
"rendering"
],
"engines": {
"node": ">=18"
},
"bugs": {
"url": "https://github.com/lmn1919/dompdf.js/issues"
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/dompdf.esm.js",
"require": "./dist/dompdf.js",
"browser": "./dist/dompdf.js"
}
},
"scripts": {
"build:wasm": "node scripts/build-wasm.mjs",
"inline:wasm": "node scripts/inline-wasm.mjs",
"build:types": "tsc --emitDeclarationOnly --declaration --declarationDir dist/types",
"prebuild": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\" && npm run build:wasm && npm run inline:wasm",
"build": "rollup -c rollup.config.mjs && npm run build:types",
"build:minify": "npm run build",
"dev": "rollup -c rollup.config.mjs -w",
"serve": "npx --yes serve . -l 8080",
"verify": "npm run build:wasm && node scripts/verify.mjs",
"test": "npm run verify",
"pdf-diff:mvp": "npm run build && node scripts/pdf-diff-mvp.mjs",
"pdf-diff:run": "npm run build && node scripts/pdf-diff/run.mjs",
"pdf-diff:all": "npm run build && node scripts/pdf-diff/run-all.mjs",
"pdf-diff:fix": "node scripts/pdf-diff/fix-loop.mjs",
"pdf-diff:agent": "node scripts/pdf-diff/agent.mjs",
"pdf-diff:mcp": "node scripts/pdf-diff/mcp-server.mjs",
"playwright:install": "playwright install chromium",
"release": "standard-version",
"release:major": "standard-version --release-as major",
"release:minor": "standard-version --release-as minor",
"release:patch": "standard-version --release-as patch",
"release:as": "standard-version --release-as"
},
"author": {
"name": "lfc",
"email": "lfc191910@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/lmn1919/dompdf.js",
"repository": {
"type": "git",
"url": "https://github.com/lmn1919/dompdf.js.git"
},
"devDependencies": {
"@napi-rs/canvas": "^1.0.0",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"pdfjs-dist": "^6.0.227",
"pixelmatch": "^7.2.0",
"playwright": "^1.61.1",
"pngjs": "^7.0.0",
"rimraf": "^5.0.5",
"rollup": "^4.0.0",
"standard-version": "^8.0.2",
"tslib": "^2.8.1",
"typescript": "^5.3.0"
}
}