-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.25 KB
/
package.json
File metadata and controls
97 lines (97 loc) · 2.25 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
{
"name": "unpdf",
"type": "module",
"version": "1.6.0",
"packageManager": "[email protected]",
"description": "PDF extraction and rendering across all JavaScript runtimes",
"author": "Johann Schopplich <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/unjs/unpdf#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/unjs/unpdf.git"
},
"bugs": {
"url": "https://github.com/unjs/unpdf/issues"
},
"keywords": [
"cloudflare",
"edge",
"extract",
"parse",
"pdf",
"pdf.js",
"pdfjs-dist",
"rendering",
"serverless",
"text-extraction",
"workers"
],
"sideEffects": false,
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./pdfjs": {
"types": "./dist/pdfjs.d.mts",
"import": "./dist/pdfjs.mjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"*",
"dist/*"
]
}
},
"files": [
"dist"
],
"scripts": {
"build": "unbuild && node scripts/post-build.mjs",
"build:pdfjs": "rollup --config pdfjs.rollup.config.ts --configPlugin typescript && cp -R node_modules/pdfjs-dist/types dist",
"dev": "unbuild --stub",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"release": "bumpp",
"test": "vitest",
"test:types": "tsc --noEmit"
},
"peerDependencies": {
"@napi-rs/canvas": "^0.1.69"
},
"peerDependenciesMeta": {
"@napi-rs/canvas": {
"optional": true
}
},
"devDependencies": {
"@antfu/eslint-config": "^8.2.0",
"@napi-rs/canvas": "^0.1.97",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-replace": "^6.0.3",
"@rollup/plugin-typescript": "^12.3.0",
"@types/node": "^24.12.2",
"bumpp": "^11.0.1",
"eslint": "^10.2.0",
"pdfjs-dist": "~5.6.205",
"rollup": "^4.60.1",
"rollup-plugin-esbuild": "^6.2.1",
"tinyglobby": "^0.2.16",
"tslib": "^2.8.1",
"typescript": "^6.0.2",
"unbuild": "^3.6.1",
"vitest": "^4.1.4"
}
}