-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 2.1 KB
/
package.json
File metadata and controls
98 lines (98 loc) · 2.1 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
{
"name": "doc-quality",
"version": "0.1.0",
"description": "Fast, configurable document & image quality analysis — detect blur, darkness, low resolution, and more before OCR",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./preflight": {
"import": {
"types": "./dist/preflight.d.ts",
"default": "./dist/preflight.js"
},
"require": {
"types": "./dist/preflight.d.cts",
"default": "./dist/preflight.cjs"
}
}
},
"typesVersions": {
"*": {
"preflight": ["./dist/preflight.d.ts"]
}
},
"bin": {
"doc-quality": "./dist/cli.js"
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run",
"test:watch": "vitest",
"lint": "tsc --noEmit",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"sharp": ">=0.32.0",
"pdf-to-png-converter": ">=3.0.0",
"tesseract.js": ">=5.0.0"
},
"peerDependenciesMeta": {
"sharp": {
"optional": true
},
"pdf-to-png-converter": {
"optional": true
},
"tesseract.js": {
"optional": true
}
},
"devDependencies": {
"@types/node": "^25.3.5",
"pdf-to-png-converter": "^3.0.0",
"sharp": "^0.33.0",
"tsup": "^8.0.0",
"typescript": "^5.4.0",
"vitest": "^2.0.0"
},
"keywords": [
"image-quality",
"document-quality",
"blur-detection",
"ocr",
"sharp",
"laplacian",
"image-analysis",
"upload-validation",
"pdf"
],
"author": "loekj",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/loekj/doc-quality.git"
},
"homepage": "https://github.com/loekj/doc-quality#readme",
"bugs": {
"url": "https://github.com/loekj/doc-quality/issues"
},
"engines": {
"node": ">=18"
}
}