UNPKG

react-native-quick-crypto

Version:

A fast implementation of Node's `crypto` module written in C/C++ JSI

143 lines (142 loc) 3.62 kB
{ "name": "react-native-quick-crypto", "version": "0.7.14", "description": "A fast implementation of Node's `crypto` module written in C/C++ JSI", "packageManager": "bun@1.1.26", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/src/index.d.ts", "react-native": "lib/module/index", "source": "src/index", "files": [ "src", "lib", "android/src", "android/build.gradle", "android/gradle.properties", "android/CMakeLists.txt", "ios", "cpp", "react-native-quick-crypto.podspec", "!lib/typescript/example", "!android/build", "!ios/build", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__" ], "scripts": { "clean": "del-cli android/build lib", "deepclean": "del-cli node_modules", "tsc": "tsc --noEmit", "typescript": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "lint:fix": "eslint \"**/*.{js,ts,tsx}\" --fix", "format": "prettier --check \"**/*.{js,ts,tsx}\"", "format:fix": "prettier --write \"**/*.{js,ts,tsx}\"", "prepare": "bun clean && bun tsc && bob build", "release": "release-it", "test": "jest" }, "keywords": [ "react-native", "ios", "android", "jsi", "crypto", "c++", "fast", "web3" ], "repository": { "type": "git", "url": "git+https://github.com/margelo/react-native-quick-crypto.git" }, "authors": [ "Szymon Kapała <szymon20000@gmail.com>", "Marc Rousavy <me@mrousavy.com> (https://github.com/mrousavy)", "Brad Anderson <brad@sankatygroup.com> (https://github.com/boorad)" ], "license": "MIT", "bugs": { "url": "https://github.com/margelo/react-native-quick-crypto/issues" }, "homepage": "https://github.com/margelo/react-native-quick-crypto#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "dependencies": { "@craftzdog/react-native-buffer": "^6.0.5", "events": "^3.3.0", "readable-stream": "^4.5.2", "string_decoder": "^1.3.0", "util": "^0.12.5" }, "devDependencies": { "@eslint/compat": "^1.1.1", "@eslint/js": "9.17.0", "@react-native/babel-preset": "0.76.5", "@react-native/eslint-config": "0.76.5", "@react-native/eslint-plugin": "0.76.5", "@release-it/conventional-changelog": "^9.0.3", "@types/jest": "^29.5.11", "@types/node": "^22.0.0", "@types/react": "^18.0.33", "@types/readable-stream": "^4.0.11", "del-cli": "^6.0.0", "eslint": "9.20.0", "eslint-plugin-react-native": "^4.1.0", "jest": "^29.7.0", "prettier": "3.4.2", "react": "18.2.0", "react-native": "0.72.7", "react-native-builder-bob": "0.35.2", "release-it": "17.11.0", "sscrypto": "^1.1.1", "typescript": "5.7.2", "typescript-eslint": "8.23.0" }, "release-it": { "npm": { "publish": true }, "git": false, "github": { "release": false }, "hooks": { "after:bump": "bun tsc && bun lint && bun format && bun prepare" }, "plugins": { "@release-it/bumper": { "out": [ { "file": "../../packages/example/package.json", "path": [ "version", "dependencies.react-native-quick-crypto" ] } ] } } }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.json" } ] ] }, "workspaces": [ ".", "example" ] }