-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.24 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 2.24 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
{
"name": "unpdf",
"type": "module",
"version": "1.4.0",
"packageManager": "pnpm@10.24.0",
"description": "PDF extraction and rendering across all JavaScript runtimes",
"author": "Johann Schopplich <hello@johannschopplich.com>",
"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": [
"parse",
"pdfjs-dist",
"pdf",
"serverless"
],
"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": "^6.2.0",
"@napi-rs/canvas": "^0.1.83",
"@rollup/plugin-alias": "^6.0.0",
"@rollup/plugin-inject": "^5.0.5",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-replace": "^6.0.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.3.0",
"@types/node": "^24.10.1",
"bumpp": "^10.3.2",
"eslint": "^9.39.1",
"fast-glob": "^3.3.3",
"pdfjs-dist": "~5.4.394",
"rollup": "^4.53.3",
"tinyglobby": "^0.2.15",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"unbuild": "^3.6.1",
"vitest": "^4.0.14"
}
}