UNPKG

react-native-capture

Version:
206 lines (205 loc) 4.81 kB
{ "name": "react-native-capture", "title": "React Native CaptureSDK", "version": "2.0.24", "description": "Socket Mobile CaptureSDK for React Native", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "types": "./lib/typescript/src/index.d.ts", "react-native": "./lib/module/index", "source": "./src/index.tsx", "exports": { ".": { "import": { "types": "./lib/typescript/src/index.d.ts", "default": "./lib/module/index.js" }, "require": { "types": "./lib/typescript/src/index.d.ts", "default": "./lib/commonjs/index.js" } } }, "files": [ "README.md", "lib", "android", "ios", "src", "*.podspec", ".npmignore", "!docs", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "test": "jest", "typecheck": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "bob build", "release": "release-it" }, "repository": { "type": "git", "url": "git+https://github.com/SocketMobile/react-native-capture.git", "baseUrl": "https://github.com/SocketMobile/react-native-capture" }, "keywords": [ "react-native", "data capture", "barcode", "scanner", "nfc", "rfid", "reader/writer", "reader", "writer", "bluetooth", "BLE", "QRCode" ], "author": { "name": "Socket Mobile", "email": "sdksupport@socketmobile.com" }, "license": "Socket Mobile, inc.", "licenseFilename": "LICENSE", "readmeFilename": "README.md", "devDependencies": { "@babel/core": "^7.25.2", "@babel/preset-env": "^7.25.3", "@babel/runtime": "^7.25.0", "@commitlint/config-conventional": "^17.0.2", "@evilmartians/lefthook": "^1.5.0", "@react-native-community/cli": "15.0.1", "@react-native-community/cli-platform-android": "15.0.1", "@react-native-community/cli-platform-ios": "15.0.1", "@react-native/babel-preset": "0.83.1", "@react-native/eslint-config": "0.83.1", "@react-native/metro-config": "0.83.1", "@react-native/typescript-config": "0.83.1", "@release-it/conventional-changelog": "^5.0.0", "@types/jest": "^29.5.13", "@types/react": "^19.2.0", "@types/react-test-renderer": "^19.0.0", "commitlint": "^17.0.2", "del-cli": "^5.1.0", "eslint": "^8.19.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "jest": "^29.6.3", "prettier": "2.8.8", "react": "19.2.0", "react-native": "0.83.1", "react-native-builder-bob": "^0.40.18", "react-test-renderer": "19.0.0", "release-it": "^15.0.0", "turbo": "^1.10.7", "typescript": "5.0.4" }, "resolutions": { "@types/react": "^19.2.0", "@types/react-native": "^0.83.1" }, "peerDependencies": { "react": "*", "react-native": "*" }, "workspaces": [ "example" ], "packageManager": "yarn@4.3.0", "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" } } }, "eslintConfig": { "root": true, "extends": [ "@react-native", "prettier" ], "rules": { "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.json" } ] ] }, "dependencies": { "socketmobile-capturejs": "^2.0.2" }, "codegenConfig": { "name": "CaptureSdkSpec", "type": "modules", "jsSrcsDir": "src", "android": { "javaPackageName": "com.socketmobile" } } }