UNPKG

react-native-quick-crypto

Version:

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

158 lines (157 loc) 3.88 kB
{ "name": "react-native-quick-crypto", "version": "1.0.6", "description": "A fast implementation of Node's `crypto` module written in C/C++ JSI", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/index.d.ts", "react-native": "src/index", "source": "src/index", "scripts": { "clean": "del-cli android/build lib", "clean:deep": "bun run clean && 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", "specs": "nitro-codegen", "test": "jest" }, "files": [ "src", "lib", "android/build.gradle", "android/gradle.properties", "android/CMakeLists.txt", "android/src", "ios", "cpp", "deps", "nitrogen", "react-native.config.js", "*.podspec", "README.md", "app.plugin.js", "scripts", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__" ], "keywords": [ "react-native", "ios", "android", "jsi", "nitro", "crypto", "cryptography", "cryptocurrency", "c++", "fast", "quick", "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.1.0", "events": "3.3.0", "react-native-quick-base64": "2.2.2", "readable-stream": "4.5.2", "safe-buffer": "^5.2.1", "util": "0.12.5" }, "devDependencies": { "@types/jest": "29.5.11", "@types/node": "24.3.0", "@types/react": "18.3.3", "@types/readable-stream": "4.0.18", "del-cli": "7.0.0", "expo": "^54.0.25", "expo-build-properties": "^1.0.0", "jest": "29.7.0", "nitro-codegen": "0.29.1", "react-native-builder-bob": "0.40.15", "react-native-nitro-modules": "0.29.1" }, "peerDependencies": { "react": "*", "react-native": "*", "react-native-nitro-modules": ">=0.29.1", "expo": ">=48.0.0", "expo-build-properties": "*" }, "peerDependenciesMeta": { "expo": { "optional": true }, "expo-build-properties": { "optional": true } }, "release-it": { "npm": { "publish": true, "skipChecks": true }, "git": false, "github": { "release": false }, "hooks": { "after:bump": "cd ../.. && bun i && cd packages/react-native-quick-crypto && bun tsc && bun lint && bun format && bun prepare" }, "plugins": { "@release-it/bumper": { "out": [ { "file": "../../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", "tsc": "../../node_modules/.bin/tsc" } ] ] }, "trustedDependencies": [ "react-native-quick-crypto", "nitro-codegen", "react-native-nitro-modules" ] }