@react-native-module/randombytes
Version:
implementation of randomBytes for React Native
68 lines (67 loc) • 1.91 kB
JSON
{
"author": "sacru2red <sacru2red@gmail.com>",
"name": "@react-native-module/randombytes",
"description": "implementation of randomBytes for React Native",
"version": "4.0.0",
"main": "lib/cjs/index.js",
"module": "lib/es/index.js",
"types": "lib/types/index.d.ts",
"source": "src/index.ts",
"react-native": {
"crypto": false
},
"homepage": "https://github.com/react-native-module/randombytes",
"repository": {
"type": "git",
"url": "git+https://github.com/react-native-module/randombytes.git"
},
"scripts": {
"lint": "eslint",
"build": "rimraf ./lib && rollup -c ./rollup.config.js && npm run build:types",
"build:types": "tsc --emitDeclarationOnly --declaration --declarationDir lib/types",
"release": "npm run build && release-it",
"test": "echo 'tests not set up for React Native yet'"
},
"dependencies": {
"buffer": "^6.0.3",
"random-js": "^2.1.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "^8.3.3",
"@types/node": "^18.0.4",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"eslint": "^8.20.0",
"eslint-config-standard-with-typescript": "^22.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.4",
"eslint-plugin-promise": "^6.0.0",
"release-it": "^15.1.2",
"rimraf": "^3.0.2",
"rollup": "^2.77.0",
"typescript": "^4.7.4"
},
"peerDependencies": {
"react-native": "*",
"react": "*"
},
"license": "ISC",
"keywords": [
"react native",
"react-native",
"randomBytes",
"random-bytes",
"rng",
"ios",
"android",
"web"
],
"bugs": {
"url": "https://github.com/react-native-module/randombytes/issues"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}