UNPKG

@react-native-ohos/react-native-securerandom

Version:

Generate cryptographically-secure random bytes in react native

54 lines (53 loc) 1.62 kB
{ "name": "@react-native-ohos/react-native-securerandom", "version": "1.0.2-rc.1", "description": "Generate cryptographically-secure random bytes in react native", "main": "index.js", "scripts": { "test": "flow && jest", "codegen-lib": "react-native codegen-lib-harmony --no-safety-check --npm-package-name react-native-securerandom --cpp-output-path ./harmony/secure_random/src/main/cpp/generated --ets-output-path ./harmony/secure_random/src/main/ets/generated --turbo-modules-spec-paths ./src/NativeSecureRandom.ts" }, "types": "index.d.ts", "license": "MIT", "peerDependencies": { "react-native": "*" }, "repository": { "type": "git", "url": "git@gitcode.com:openharmony-sig/rntpc_react-native-securerandom.git" }, "harmony": { "alias": "react-native-securerandom" }, "keywords": [ "harmony", "react-native", "SecRandomCopyBytes", "PRNG", "CSPRNG", "SecureRandom", "crypto", "RandomNumberGenerator", "Cryptography" ], "homepage": "https://gitcode.com/openharmony-sig/rntpc_react-native-securerandom#readme", "dependencies": { "base64-js": "*", "react-native-securerandom":"1.0.1" }, "devDependencies": { "@babel/core": "^7.1.2", "@babel/plugin-transform-runtime": "^7.4.4", "@babel/preset-env": "^7.1.0", "babel-jest": "^29.0.3", "flow-bin": "^0.187.1", "jest": "^29.0.3", "react-native": "^0.69.0", "react-native-harmony-cli": "npm:@react-native-oh/react-native-harmony-cli@^0.0.27" }, "jest": { "transform": { "^.+\\.js$": "<rootDir>/jest.babel.js" } } }