Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
123 lines (123 loc) · 3.42 KB
/
Copy pathpackage.json
File metadata and controls
123 lines (123 loc) · 3.42 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "react-native-doc-scanner",
"version": "0.1.1",
"description": "Real-time AI document scanner for React Native — VisionCamera + ONNX Runtime document detection, OpenCV quality analysis, and PaddleOCR (RapidOCR/ONNX) field extraction for passports, driving licences, and ID cards.",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"types": "lib/typescript/index.d.ts",
"react-native": "src/index.ts",
"source": "src/index.ts",
"files": [
"src",
"lib",
"ios",
"android/src",
"android/build.gradle",
"android/CMakeLists.txt",
"android/fix-prefab.gradle",
"nitrogen",
"nitro.json",
"assets/models",
"react-native-doc-scanner.podspec",
"!ios/build",
"!android/build",
"!android/.cxx",
"!**/__tests__",
"!**/__mocks__",
"!**/*.test.ts",
"!**/*.test.tsx",
"!assets/models/docaligner_fastvit_heatmap.onnx"
],
"scripts": {
"build": "bob build",
"typecheck": "tsc --noEmit",
"typecheck:tests": "tsc --noEmit -p tsconfig.test.json",
"lint": "eslint src bench",
"test": "jest",
"test:watch": "jest --watch",
"test:ci": "jest --ci --coverage --runInBand",
"verify:models": "bash scripts/verify-models.sh",
"specs": "tsc --noEmit && nitrogen",
"prepare": "bob build",
"replay": "node --experimental-strip-types bench/replay/run.ts",
"generate:thresholds": "node --experimental-strip-types tools/generateThresholds.ts"
},
"keywords": [
"react-native",
"document-scanner",
"vision-camera",
"onnx",
"opencv",
"ocr",
"mrz",
"passport-scanner",
"id-scanner"
],
"license": "MIT",
"author": "Muhammad Ahmad",
"repository": {
"type": "git",
"url": "https://github.com/programmer443/react-native-kyc-sdk.git"
},
"homepage": "https://github.com/programmer443/react-native-kyc-sdk#readme",
"bugs": {
"url": "https://github.com/programmer443/react-native-kyc-sdk/issues"
},
"peerDependencies": {
"@shopify/react-native-skia": ">=1.5.0",
"react": "*",
"react-native": "*",
"react-native-gesture-handler": ">=2.14.0",
"react-native-mmkv": ">=4.0.0",
"react-native-nitro-modules": ">=0.35.0",
"react-native-reanimated": ">=3.10.0",
"react-native-vision-camera": ">=5.0.0",
"react-native-vision-camera-worklets": ">=5.0.0"
},
"dependencies": {
"zustand": "^5.0.14"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@shopify/react-native-skia": "^2.0.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"eslint": "^9.13.0",
"eslint-plugin-react-hooks": "^5.2.0",
"jest": "^29.7.0",
"nitrogen": "^0.35.5",
"onnxruntime-web": "^1.27.0",
"react": "19.2.3",
"react-native": "0.86.2",
"react-native-builder-bob": "^0.35.3",
"react-native-gesture-handler": "^2.28.0",
"react-native-mmkv": "^4.0.0",
"react-native-nitro-modules": "^0.36.5",
"react-native-reanimated": "^4.0.0",
"react-native-vision-camera": "^5.2.2",
"react-native-vision-camera-worklets": "^5.2.2",
"ts-jest": "^29.2.5",
"typescript": "^5.6.3",
"typescript-eslint": "^8.12.0"
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
[
"commonjs",
{
"esm": true
}
],
[
"module",
{
"esm": true
}
],
"typescript"
]
}
}