-
Notifications
You must be signed in to change notification settings - Fork 305
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.77 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 2.77 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
100
101
102
103
104
105
106
107
{
"name": "kordoc",
"version": "4.7.3",
"description": "Parse Korean documents (HWP3-5, HWPX, HWPML, PDF, XLS(X), DOCX) to Markdown — CLI + MCP server with lossless patch/roundtrip, form-filler, document diff, print & layout-preserving SVG renderer",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"kordoc": "./dist/cli.js",
"kordoc-mcp": "./dist/mcp.js"
},
"files": [
"dist",
"templates",
"NOTICE",
"THIRD_PARTY"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "node --import tsx --test tests/*.test.ts",
"typecheck": "tsc --noEmit",
"bench:gate": "node bench/score.mjs && node bench/roundtrip.mjs --gate && node bench/pdf-table-gt.mjs --gate && node bench/formats-sweep.mjs --gate && node bench/fuzz-sweep.mjs --gate && node bench/verify-reflow.mjs --gate",
"bench:visual": "node bench/visual/verify-visual.mjs --gate",
"sync-meta": "node scripts/sync-meta.mjs",
"prepublishOnly": "node scripts/sync-meta.mjs --check && node scripts/check-notices.mjs && npm run typecheck && npm run test && npm run build && node bench/gate-if-corpus.mjs"
},
"keywords": [
"hwp",
"hwpx",
"hancom",
"hangul",
"korean",
"document",
"parser",
"pdf",
"xls",
"xlsx",
"biff8",
"docx",
"markdown",
"converter",
"ocr",
"mcp",
"model-context-protocol",
"print",
"puppeteer"
],
"author": "chrisryugj",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/chrisryugj/kordoc.git"
},
"engines": {
"node": ">=18"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.29.0",
"@xmldom/xmldom": "^0.9.10",
"cfb": "1.2.2",
"commander": "^13.0.0",
"jszip": "^3.10.1",
"markdown-it": "^14.3.0",
"zod": "^3.23.0"
},
"peerDependencies": {
"puppeteer-core": ">=22.0.0"
},
"peerDependenciesMeta": {
"puppeteer-core": {
"optional": true
}
},
"optionalDependencies": {
"@huggingface/transformers": "^4.1.0",
"@hyzyla/pdfium": "^2.1.0",
"onnxruntime-node": "^1.24.0",
"pdfjs-dist": "^4.10.38",
"sharp": "^0.35.0"
},
"overrides": {
"adm-zip": "^0.6.0",
"sharp": "^0.35.0"
},
"devDependencies": {
"@huggingface/transformers": "^4.1.0",
"@hyzyla/pdfium": "^2.1.0",
"@types/markdown-it": "^14.1.2",
"@types/node": "^18.19.130",
"onnxruntime-node": "^1.24.0",
"pdfjs-dist": "^4.10.38",
"puppeteer-core": "^24.42.0",
"sharp": "^0.35.0",
"tsup": "^8.4.0",
"tsx": "^4.21.0",
"typescript": "^5.9.0"
}
}