UNPKG

@hcaptcha/react-native-hcaptcha

Version:

hCaptcha Library for React Native (both Android and iOS)

77 lines (76 loc) 2.56 kB
{ "name": "@hcaptcha/react-native-hcaptcha", "version": "4.0.0", "description": "hCaptcha Library for React Native (both Android and iOS)", "main": "index.js", "scripts": { "prepare": "husky", "test": "jest --testPathIgnorePatterns=\\.perf-test\\.js$", "test:e2e:setup": "node __scripts__/setup-e2e-host.js", "test:e2e:install:android": "adb install -r __e2e__/host/android/app/build/outputs/apk/debug/app-debug.apk", "test:e2e:install:ios": "xcrun simctl install booted __e2e__/host/ios/build/Build/Products/Debug-iphonesimulator/react_native_hcaptcha_example.app", "test:e2e:android": "npm run test:e2e:install:android && cd __e2e__/host && npx react-native-harness --harnessRunner android", "test:e2e:ios": "npm run test:e2e:install:ios && cd __e2e__/host && npx react-native-harness --harnessRunner ios", "lint": "eslint .", "example": "node __scripts__/generate-example.js", "perf:baseline": "reassure --baseline", "perf:compare": "reassure --compare" }, "jest": { "preset": "react-native", "verbose": true, "setupFiles": [ "<rootDir>/__mocks__/global.js" ], "testPathIgnorePatterns": [ "/node_modules/", "<rootDir>/__e2e__/" ] }, "repository": { "type": "git", "url": "git+https://github.com/hCaptcha/react-native-hcaptcha.git" }, "keywords": [ "react-native", "hcaptcha", "captcha", "mobile", "ios", "android" ], "author": "hCaptcha Team", "license": "MIT", "bugs": { "url": "https://github.com/hCaptcha/react-native-hcaptcha/issues" }, "homepage": "https://github.com/hCaptcha/react-native-hcaptcha#readme", "peerDependencies": { "react": "*", "react-native": "*", "react-native-webview": ">=9.0.1" }, "contributors": [ { "name": "hCaptcha Team", "email": "support@hcaptcha.com", "url": "https://github.com/hCaptcha/react-native-hcaptcha/" } ], "devDependencies": { "@react-native/babel-preset": "^0.78.0", "@react-native/eslint-config": "^0.78.0", "@testing-library/react-native": "^13.2.0", "eslint": "^8.19.0", "eslint-plugin-react-native": "^5.0.0", "husky": "^9.1.7", "jest": "^29.7.0", "pngjs": "^7.0.0", "prettier": "^3.6.2", "react": "*", "react-native": "*", "react-native-webview": "*", "reassure": "^1.4.0" }, "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" }