Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.4 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 2.4 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
{
"name": "hyper-compress",
"version": "1.2.2",
"type": "module",
"description": "High-fidelity, content-preserving PDF compression engine",
"license": "AGPL-3.0-only",
"repository": {
"type": "git",
"url": "git+https://github.com/alam00000/bentopdf-hyper-compress.git"
},
"homepage": "https://github.com/alam00000/bentopdf-hyper-compress",
"bugs": {
"url": "https://github.com/alam00000/bentopdf-hyper-compress/issues"
},
"bin": {
"hyper": "dist/cli/bin/hyper.js"
},
"main": "dist/sdk/node/index.js",
"types": "dist/sdk/node/index.d.ts",
"scripts": {
"build": "node node_modules/tsc7/bin/tsc -p tsconfig.json",
"typecheck": "node node_modules/tsc7/bin/tsc -p tsconfig.json --noEmit",
"hyper": "npm run --silent build && node dist/cli/bin/hyper.js",
"smoke": "npm run --silent build && node dist/scripts/smoke.js",
"test": "npm run --silent build && node --test dist/tests/*.test.js",
"lint": "eslint sdk cli/bin scripts tests wasm/glue.ts wasm/sdk.ts packages/npm/hyper-compress-wasm/index.js packages/npm/hyper-compress-wasm/index.d.ts web/worker.js web/options-ui.js web/app.js web/engine-wasm.js web/engine-http.js",
"serve": "npm run --silent build && cargo run --release --manifest-path rust/Cargo.toml -p hyper-compress-server",
"prepublishOnly": "npm run build",
"release": "bash scripts/release.sh patch",
"release:minor": "bash scripts/release.sh minor",
"release:major": "bash scripts/release.sh major",
"docs:dev": "npm run build && node scripts/gen-options-doc.mjs && vitepress dev docs",
"docs:build": "npm run build && node scripts/gen-options-doc.mjs && vitepress build docs"
},
"engines": {
"node": ">=22"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^22.0.0",
"eslint": "^10.9.1",
"tsc7": "npm:typescript@^7.0.2",
"typescript": "^6.0.3",
"typescript-eslint": "^8.68.0",
"vitepress": "^1.6.4"
},
"files": [
"dist/sdk",
"dist/cli",
"NOTICE.md",
"THIRD_PARTY_LICENSES"
],
"exports": {
".": {
"types": "./dist/sdk/node/index.d.ts",
"import": "./dist/sdk/node/index.js"
},
"./package.json": "./package.json"
},
"keywords": [
"pdf",
"compression",
"pdfium",
"compress",
"optimize",
"jpegli",
"jbig2"
],
"overrides": {
"vitepress": {
"vite": "^6.4.5"
},
"minimatch": "^11.0.1"
}
}