UNPKG

@onfido/react-native-sdk

Version:

Onfido React Native SDK

92 lines (91 loc) 2.55 kB
{ "name": "@onfido/react-native-sdk", "title": "React Native Onfido Sdk", "version": "15.0.0", "description": "Onfido React Native SDK", "main": "index.ts", "scripts": { "lint": "echo \"Skipping SDK linting...\"", "test": "echo \"RN SDK testing...\"; jest --coverage", "updateGradleMultiDex": "node scripts/android_enable_multi_dex.js", "updateGradleMavenLink": "node scripts/android_add_maven_link.js", "updateBuildGradle": "npm run updateGradleMultiDex && npm run updateGradleMavenLink", "updateColors": "node scripts/update_colors.js", "updateOnfido": "npm run updateBuildGradle && npm run updateColors", "iOSTest": "cd ios && xcodebuild test-without-building -workspace \"OnfidoSdk.xcworkspace\" -scheme \"OnfidoSdkTests\" -destination \"platform=iOS Simulator,name=iPhone 8,OS=13.3\" -only-testing:OnfidoSdkTests" }, "publishConfig": { "access": "public" }, "jest": { "preset": "react-native", "transformIgnorePatterns": [ "/node_modules/(?!(@react-native|react-native)/).*/" ], "testPathIgnorePatterns": [ "/TestApp", "/SampleApp" ], "globals": { "__DEV__": true }, "moduleFileExtensions": [ "js", "json", "jsx", "ts", "tsx", "node", "android.js", "ios.js" ] }, "repository": { "type": "git", "url": "git+https://github.com/onfido/react-native-sdk.git", "baseUrl": "https://github.com/onfido/react-native-sdk" }, "keywords": [ "react-native", "onfido", "sdk", "document", "capture", "identity", "verification" ], "author": { "name": "SDK Customer Support", "email": "react-native-sdk@onfido.com", "url": "https://github.com/onfido" }, "license": "MIT", "licenseFilename": "LICENSE", "readmeFilename": "README.md", "peerDependencies": { "react": ">=17.0.0", "react-native": ">=0.70.0 <1.0.x" }, "devDependencies": { "@babel/cli": "^7.10.5", "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@react-native-community/cli-platform-android": "^6.3.0", "@react-native/metro-config": "^0.73.5", "@types/react-native": "^0.72.1", "babel-jest": "^29.6.3", "babel-preset-react-native": "^5.0.0", "husky": "^8.0.3", "jest": "^29.6.3", "metro-react-native-babel-preset": "^0.77.0", "react": "18.2.0", "react-native": "0.73.8", "typescript": "^5.0.4" }, "dependencies": { "js-base64": "3.7.5" }, "engines": { "node": ">=18" } }