@libpdf/core 0.0.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "@libpdf/core",
3
+ "version": "0.0.1-beta.0",
4
+ "description": "A modern PDF library for TypeScript - parsing and generation",
5
+ "type": "module",
6
+ "sideEffects": false,
7
+ "exports": {
8
+ ".": {
9
+ "types": "./dist/index.d.mts",
10
+ "import": "./dist/index.mjs",
11
+ "default": "./dist/index.mjs"
12
+ },
13
+ "./package.json": "./package.json"
14
+ },
15
+ "main": "./dist/index.mjs",
16
+ "module": "./dist/index.mjs",
17
+ "types": "./dist/index.d.mts",
18
+ "files": [
19
+ "dist",
20
+ "LICENSE",
21
+ "README.md"
22
+ ],
23
+ "imports": {
24
+ "#src/*": "./src/*"
25
+ },
26
+ "scripts": {
27
+ "build": "tsdown",
28
+ "test": "vitest",
29
+ "test:run": "vitest run",
30
+ "test:coverage": "vitest run --coverage",
31
+ "typecheck": "tsc --noEmit",
32
+ "lint": "biome check .",
33
+ "lint:fix": "biome check --write .",
34
+ "format": "biome format --write .",
35
+ "examples": "bun run examples/run-all.ts",
36
+ "examples:quiet": "bun run examples/run-all.ts --quiet",
37
+ "docs:dev": "bun run --cwd apps/docs dev",
38
+ "docs:build": "bun run --cwd apps/docs build",
39
+ "prepublishOnly": "bun run build",
40
+ "prepare": "husky"
41
+ },
42
+ "devDependencies": {
43
+ "@biomejs/biome": "^2.3.10",
44
+ "@types/bun": "^1.3.5",
45
+ "@types/pako": "^2.0.4",
46
+ "husky": "^9.1.7",
47
+ "lint-staged": "^16.2.7",
48
+ "tsdown": "^0.18.4",
49
+ "vitest": "^4.0.16"
50
+ },
51
+ "peerDependencies": {
52
+ "typescript": "^5"
53
+ },
54
+ "dependencies": {
55
+ "@noble/ciphers": "^2.1.1",
56
+ "@noble/hashes": "^2.0.1",
57
+ "pako": "^2.1.0",
58
+ "pkijs": "^3.3.3",
59
+ "zod": "4"
60
+ }
61
+ }