UNPKG

@korekoi/react-native-get-random-values

Version:

⚡️ A fast implementation of `crypto.getRandomValues` for React Native

120 lines (119 loc) 2.95 kB
{ "name": "@korekoi/react-native-get-random-values", "version": "0.2.4", "description": "⚡️ A fast implementation of `crypto.getRandomValues` for React Native", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/src/index.d.ts", "react-native": "src/index", "source": "src/index", "files": [ "src", "lib", "android", "ios", "cpp", "libsodium-android", "Clibsodium.xcframework", "*.podspec", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "example": "yarn workspace react-native-get-random-values-example", "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" }, "keywords": [ "react-native", "ios", "android", "crypto", "get-random-values", "crypto.getRandomValues", "polyfill", "getRandomValues", "cpp" ], "repository": { "type": "git", "url": "git+https://github.com/kore-koi/react-native-get-random-values.git" }, "author": "korekoi <mattia2002.ferrari@gmail.com> (https://github.com/kore-koi/react-native-get-random-values)", "license": "MIT", "bugs": { "url": "https://github.com/kore-koi/react-native-get-random-values/issues" }, "homepage": "https://github.com/kore-koi/react-native-get-random-values#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@react-native/eslint-config": "^0.73.1", "@types/jest": "^29.5.5", "@types/react": "^18.2.44", "del-cli": "^5.1.0", "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "react": "18.2.0", "react-native": "0.74.2", "react-native-builder-bob": "^0.20.0", "react-native-nitro-modules": "^0.9.2", "turbo": "^1.10.7", "typescript": "^5.2.2" }, "resolutions": { "@types/react": "^18.2.44" }, "peerDependencies": { "react": "*", "react-native": "*", "react-native-nitro-modules": "*" }, "workspaces": [ "example" ], "packageManager": "yarn@3.6.1", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "eslintIgnore": [ "node_modules/", "lib/", "example/" ], "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "directories": { "example": "example", "lib": "lib" } }