-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.1 KB
/
Copy pathpackage.json
File metadata and controls
79 lines (79 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
{
"name": "cerne-scanner",
"version": "0.4.0",
"updated": "2026.07.28.1055",
"description": "Detecta folhas em fotografias, corrige perspectiva e devolve documentos em PNG, JPEG, WebP, PDF, bytes, Base64 ou Data URL usando somente CPU.",
"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"
}
}
},
"bin": {
"cerne-scanner": "dist/cli.js"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": false,
"engines": {
"node": ">=20"
},
"keywords": [
"document-scanner",
"perspective-correction",
"deskew",
"opencv",
"image",
"pdf",
"jpeg",
"png",
"webp",
"ocr-preprocessing"
],
"author": "devAlphaSystem",
"license": "MIT",
"scripts": {
"build": "tsup ./src/index.ts --no-config --format esm,cjs --dts --sourcemap --clean --no-splitting --platform node --target node20 --out-dir dist && tsup ./src/cli.ts --no-config --format esm --sourcemap --no-splitting --platform node --target node20 --out-dir dist",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"bench:fixtures": "node bench/fixtures.mjs",
"bench": "node --expose-gc bench/run.mjs",
"security:audit": "npm audit --audit-level=low",
"check": "tsc --noEmit && eslint . && prettier --check . && npm run build",
"prepack": "npm run check",
"prepare": "patch-package"
},
"dependencies": {
"@opencvjs/node": "5.0.0-release.2",
"pdf-lib": "^1.17.1",
"sharp": "^0.35.3"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^26.1.2",
"eslint": "^10.8.0",
"patch-package": "^8.0.1",
"prettier": "3.9.4",
"tsup": "^8.5.1",
"typescript": "~5.9.3",
"typescript-eslint": "^8.65.0"
},
"overrides": {
"esbuild": "0.27.2"
}
}