-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.16 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 2.16 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
{
"name": "@hoseinh/react-ocr",
"private": false,
"version": "1.0.0",
"description": "React components for handwriting and image-based OCR.",
"type": "module",
"keywords": [
"react",
"ocr",
"handwriting",
"tesseract",
"image-recognition"
],
"author": "Hosein Hamzenejad",
"license": "MIT",
"homepage": "https://github.com/hoseinhamzei/react-ocr#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/hoseinhamzei/react-ocr.git"
},
"bugs": {
"url": "https://github.com/hoseinhamzei/react-ocr/issues"
},
"scripts": {
"dev": "vite --host",
"build": "vite build",
"build:demo": "vite build --config vite.config.demo.ts",
"predeploy": "npm run build:demo",
"deploy": "gh-pages -d dist",
"prepublishOnly": "npm run build",
"lint": "eslint .",
"preview": "vite preview",
"test": "jest"
},
"main": "./dist/index.cjs.js",
"module": "./dist/index.es.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js"
},
"./dist/react-ocr.css": "./dist/react-ocr.css",
"./package.json": "./package.json"
},
"sideEffects": [
"*.css"
],
"files": [
"dist"
],
"engines": {
"node": ">=18.0.0"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"tesseract.js": "^6.0.0"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/jest": "^30.0.0",
"@types/node": "^22.10.5",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"eslint": "^9.17.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.16",
"gh-pages": "^6.3.0",
"globals": "^15.14.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^30.2.0",
"ts-jest": "^29.4.6",
"typescript": "~5.6.2",
"typescript-eslint": "^8.18.2",
"vite": "^6.0.5",
"vite-plugin-dts": "^4.5.0"
}
}