Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 2.64 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) · 2.64 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
98
99
{
"name": "@ginexys/layout-engine",
"version": "0.1.0",
"description": "Deterministic, browser-native document layout reconstruction: PDF geometry to the GxDoc structure, plus document forensics.",
"keywords": [
"pdf",
"layout",
"document-layout-analysis",
"pdf-extraction",
"pdf-to-html",
"table-extraction",
"reading-order",
"document-forensics",
"pdfjs",
"browser"
],
"license": "AGPL-3.0-or-later",
"author": "Canwork LLC",
"homepage": "https://ginexys.com",
"repository": {
"type": "git",
"url": "git+https://github.com/canworkstudios/layout-engine.git"
},
"bugs": {
"url": "https://github.com/canworkstudios/layout-engine/issues"
},
"type": "module",
"sideEffects": false,
"files": [
"src",
"types",
"LICENSE",
"LICENSE-MIT",
"NOTICE",
"licenses",
"README.md"
],
"exports": {
"./gxdoc": {
"types": "./types/ir/gxDoc.d.ts",
"default": "./src/ir/gxDoc.js"
},
"./ir/*": {
"types": "./types/ir/*.d.ts",
"default": "./src/ir/*.js"
},
"./extraction/*": {
"types": "./types/extraction/*.d.ts",
"default": "./src/extraction/*.js"
},
"./forensics": {
"types": "./types/extraction/forensics/index.d.ts",
"default": "./src/extraction/forensics/index.js"
},
"./forensics/*": {
"types": "./types/extraction/forensics/*.d.ts",
"default": "./src/extraction/forensics/*.js"
},
"./adapters/*": {
"types": "./types/adapters/*.d.ts",
"default": "./src/adapters/*.js"
},
"./workers/*": {
"types": "./types/workers/*.d.ts",
"default": "./src/workers/*.js"
},
"./package.json": "./package.json"
},
"scripts": {
"build:types": "tsc -p .",
"check:boundary": "node scripts/check-boundary.mjs",
"test": "node scripts/check-boundary.mjs && for t in test/*.test.mjs src/extraction/check-*.cjs; do node \"$t\" > /dev/null || { echo \"FAIL $t\"; exit 1; }; done && echo 'all tests passed'",
"prepublishOnly": "npm run build:types && npm test",
"bench:predict": "node bench/predict.mjs",
"bench:score": "node bench/score.mjs",
"fixtures": "node scripts/build-fixtures.mjs",
"gen:katex-css": "node scripts/gen-katex-export-css.mjs"
},
"dependencies": {
"@canwork/boxwood": "^1.1.0",
"katex": "^0.18.4"
},
"peerDependencies": {
"onnxruntime-web": ">=1.25.0-0",
"pdfjs-dist": "^4.0.0"
},
"peerDependenciesMeta": {
"onnxruntime-web": {
"optional": true
}
},
"devDependencies": {
"pdfjs-dist": "^4.10.38",
"typescript": "^5.6.3"
},
"publishConfig": {
"access": "public"
}
}