UNPKG

react-native-quick-crypto

Version:

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

155 lines (154 loc) 4.02 kB
{ "name": "react-native-quick-crypto", "version": "0.7.10", "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": { "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": "bob build", "release": "release-it", "example": "cd example && bun start", "pods": "cd example && bun install && bun pods", "bootstrap": "bun install && bun pods && bun example", "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)", "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": "10.0.0", "@react-native/babel-preset": "^0.75.0-main", "@react-native/eslint-config": "^0.75.0-main", "@react-native/eslint-plugin": "^0.75.0-main", "@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", "eslint": "9.15.0", "eslint-plugin-react-native": "^4.1.0", "jest": "^29.7.0", "prettier": "3.3.3", "react": "^18.2.0", "react-native": "^0.72.7", "react-native-builder-bob": "0.32.1", "release-it": "^17.2.0", "sscrypto": "^1.1.1", "typescript": "5.6.3", "typescript-eslint": "8.15.0" }, "peerDependencies": { "react": "*", "react-native": "*" }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": { "name": "conventionalcommits", "types": [ { "type": "feat", "section": "✨ Features" }, { "type": "fix", "section": "🐛 Bug Fixes" }, { "type": "perf", "section": "💨 Performance Improvements" }, { "type": "chore(deps)", "section": "🛠️ Dependency Upgrades" }, { "type": "docs", "section": "📚 Documentation" } ] } } } }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.json" } ] ] } }