-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.31 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 2.31 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
{
"name": "@happyvertical/ocr",
"version": "0.60.43",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"packageManager": "pnpm@10.34.1",
"engines": {
"node": ">=24",
"pnpm": ">=9"
},
"dependencies": {
"@gutenye/ocr-node": "^1.4.8",
"@happyvertical/ai": "^0.74.0",
"@happyvertical/utils": "^0.74.0",
"jpeg-js": "0.4.4",
"pngjs": "7.0.0",
"tesseract.js": "^6.0.1"
},
"devDependencies": {
"@biomejs/biome": "2.4.16",
"@changesets/cli": "^2.29.8",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@types/node": "24.12.4",
"@types/pngjs": "6.0.5",
"lefthook": "^1.11.13",
"tsx": "^4.20.0",
"typescript": "^5.9.3",
"vite": "7.3.3",
"vite-plugin-dts": "4.5.4",
"vitest": "^4.0.8"
},
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"description": "Standardized OCR interface with support for multiple providers including Tesseract.js and ONNX (PaddleOCR)",
"keywords": [
"ocr",
"optical-character-recognition",
"text-extraction",
"tesseract",
"onnx",
"paddleocr",
"litellm",
"vision-llm",
"image-to-text",
"text-recognition",
"multi-provider",
"typescript",
"browser",
"nodejs"
],
"repository": {
"type": "git",
"url": "https://github.com/happyvertical/ocr.git"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"publishConfig": {
"registry": "https://npm.pkg.github.com",
"access": "public"
},
"bugs": {
"url": "https://github.com/happyvertical/ocr/issues"
},
"homepage": "https://github.com/happyvertical/ocr#readme",
"license": "MIT",
"scripts": {
"test": "vitest run --testTimeout 120000",
"test:watch": "vitest --testTimeout 120000",
"build": "vite build",
"build:watch": "vite build --watch",
"typecheck": "tsc --noEmit",
"lint": "biome check src/",
"format": "biome format --write src/",
"clean": "rm -rf dist *.tsbuildinfo",
"dev": "npm run build:watch & npm run test:watch",
"changeset": "changeset",
"changeset:auto": "npx tsx scripts/auto-changeset.ts",
"changeset:version": "changeset version",
"changeset:publish": "changeset publish",
"prepare": "lefthook install"
}
}