UNPKG

@gutenye/ocr-react-native

Version:

Guten OCR is a high accurate text detection (OCR) Javascript/Typescript library that runs on Node.js, Browser, React Native and C++. Based on PaddleOCR and ONNX runtime

106 lines (105 loc) 2.83 kB
{ "name": "@gutenye/ocr-react-native", "description": "Guten OCR is a high accurate text detection (OCR) Javascript/Typescript library that runs on Node.js, Browser, React Native and C++. Based on PaddleOCR and ONNX runtime", "keywords": ["ocr", "paddleocr", "typescript", "onnxruntime", "react-native", "ios", "android", "expo"], "version": "1.4.8", "main": "lib/commonjs/index", "module": "lib/module/index", "react-native": "src/index", "source": "src/index", "types": "lib/typescript/src/index.d.ts", "files": [ "src", "lib", "ios", "!ios/build", "android", "!android/src/main/assets/guten-ocr.bundle/*.jpg", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "ocr.gradle", "cpp", "!cpp/example", "*.podspec", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "test": "jest", "typecheck": "tsc --noEmit", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepublishOnly": "cp ../../README.md . && ./ake build", "postpublish": "rm README.md && rm -rf build", "release": "release-it" }, "homepage": "https://github.com/gutenye/ocr", "author": "Guten Ye <ywzhaifei@gmail.com> (https://github.com/gutenye)", "license": "MIT", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@evilmartians/lefthook": "^1.5.0", "@release-it/conventional-changelog": "^5.0.0", "@types/jest": "^29.5.5", "@types/react": "18.2.0", "commitlint": "^17.0.2", "del-cli": "^5.1.0", "react": "18.2.0", "react-native": "0.73.6", "react-native-builder-bob": "^0.20.0", "release-it": "^15.0.0", "turbo": "^1.10.7", "typescript": "^5.2.2" }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": ["<rootDir>/example/node_modules", "<rootDir>/lib/"] }, "commitlint": { "extends": ["@commitlint/config-conventional"] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "react-native-builder-bob": { "source": "src", "output": "lib", "exclude": "**/cpp/example/**", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "codegenConfig": { "name": "RNOcrSpec", "type": "modules", "jsSrcsDir": "src" } }