UNPKG

react-native-quick-crypto

Version:

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

195 lines (194 loc) 5.15 kB
{ "name": "react-native-quick-crypto", "version": "1.1.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": "nitrogen", "circular": "dpdm --circular --no-tree --no-warning --exit-code circular:1 --transform src/index.ts", "test": "jest" }, "files": [ "src", "lib", "android/build.gradle", "android/gradle.properties", "android/CMakeLists.txt", "android/src", "ios", "cpp", "deps/blake3/c", "deps/blake3/LICENSE_A2", "deps/blake3/LICENSE_A2LLVM", "deps/blake3/LICENSE_CC0", "deps/fastpbkdf2", "deps/ncrypto/include", "deps/ncrypto/src/aead.cpp", "deps/ncrypto/src/engine.cpp", "deps/ncrypto/src/ncrypto.cpp", "deps/ncrypto/LICENSE", "deps/simdutf/include", "deps/simdutf/src", "deps/simdutf/LICENSE-MIT", "deps/simdutf/LICENSE-APACHE", "nitrogen", "*.podspec", "README.md", "app.plugin.js", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/*.tsbuildinfo", "!ios/libsodium-stable", "!deps/simdutf/src/CMakeLists.txt", "!deps/blake3/c/blake3_c_rust_bindings", "!deps/blake3/c/dependencies", "!deps/blake3/c/*_x86-64_*.S", "!deps/blake3/c/*_x86-64_*.asm", "!deps/blake3/c/blake3_avx2.c", "!deps/blake3/c/blake3_avx512.c", "!deps/blake3/c/blake3_sse2.c", "!deps/blake3/c/blake3_sse41.c", "!deps/blake3/c/blake3_tbb.cpp", "!deps/blake3/c/main.c", "!deps/blake3/c/example.c", "!deps/blake3/c/example_tbb.c", "!deps/blake3/c/test.py", "!deps/blake3/c/Makefile.testing", "!deps/blake3/c/CMakeLists.txt", "!deps/blake3/c/CMakePresets.json", "!deps/blake3/c/blake3-config.cmake.in", "!deps/blake3/c/libblake3.pc.in" ], "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.2", "events": "3.3.0", "readable-stream": "4.7.0", "safe-buffer": "^5.2.1", "string_decoder": "^1.3.0", "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.23", "del-cli": "7.0.0", "dpdm": "^4.0.1", "expo": "^54.0.25", "expo-build-properties": "^1.0.0", "jest": "29.7.0", "nitrogen": "0.33.2", "react-native-builder-bob": "0.40.15", "react-native-nitro-modules": "0.33.2" }, "peerDependencies": { "react": "*", "react-native": "*", "react-native-nitro-modules": ">=0.31.2", "react-native-quick-base64": ">=3.0.0", "expo": ">=48.0.0", "expo-build-properties": "*" }, "peerDependenciesMeta": { "expo": { "optional": true }, "expo-build-properties": { "optional": true } }, "release-it": { "npm": { "publish": true, "skipChecks": true, "versionArgs": [ "--workspaces-update=false" ] }, "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" ] } ] } } }, "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", "nitrogen", "react-native-nitro-modules" ] }