UNPKG

react-native-mmkv

Version:

The fastest key/value storage for React Native. ~30x faster than AsyncStorage! Works on Android, iOS and Web.

183 lines (182 loc) 4.79 kB
{ "name": "react-native-mmkv", "version": "3.2.0", "description": "The fastest key/value storage for React Native. ~30x faster than AsyncStorage! Works on Android, iOS and Web.", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/src/index.d.ts", "react-native": "src/index", "source": "src/index", "files": [ "cpp/**/*.h", "cpp/**/*.cpp", "MMKV/Core", "android/src", "android/build.gradle", "android/CMakeLists.txt", "android/cpp-adapter.cpp", "android/gradle.properties", "lib/commonjs", "lib/module", "lib/typescript", "ios/**/*.h", "ios/**/*.m", "ios/**/*.mm", "ios/**/*.cpp", "src", "react-native-mmkv.podspec", "react-native.config.js", "README.md" ], "scripts": { "typescript": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "lint-ci": "yarn lint -f ./node_modules/@firmnav/eslint-github-actions-formatter/dist/formatter.js", "lint-cpp": "scripts/clang-format.sh", "check-all": "yarn lint --fix && yarn lint-cpp", "test": "jest", "typecheck": "tsc --noEmit", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "git submodule update --init --recursive && bob build", "prepack": "bob build", "update-submodule": "git submodule update --remote --merge", "pods": "cd example && yarn pods", "release": "release-it", "codegen": "npx react-native codegen" }, "keywords": [ "react-native", "ios", "android", "mmkv", "storage", "key", "value", "fast", "turbo", "async" ], "repository": { "type": "git", "url": "git+https://github.com/mrousavy/react-native-mmkv.git" }, "author": "Marc Rousavy <me@mrousavy.com> (https://github.com/mrousavy)", "license": "(MIT AND BSD-3-Clause)", "bugs": { "url": "https://github.com/mrousavy/react-native-mmkv/issues" }, "homepage": "https://github.com/mrousavy/react-native-mmkv#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@firmnav/eslint-github-actions-formatter": "^1.0.1", "@jamesacarr/eslint-formatter-github-actions": "^0.2.0", "@react-native-community/cli-types": "^14.1.1", "@react-native/eslint-config": "^0.75.4", "@release-it/conventional-changelog": "^9.0.1", "@testing-library/react-native": "^12.7.2", "@types/jest": "^29.5.13", "@types/react": "^18.3.11", "del-cli": "^6.0.0", "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.2.1", "jest": "^29.7.0", "prettier": "^3.3.3", "react": "^18.3.1", "react-native": "^0.75.4", "react-native-builder-bob": "^0.30.2", "react-test-renderer": "18.3.1", "release-it": "^17.10.0", "typescript": "^5.5.4" }, "resolutions": { "@types/react": "^18.2.44", "@react-native-community/cli": "^14.0.0-alpha.4" }, "peerDependencies": { "react": "*", "react-native": "*" }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "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" } ] } } } }, "eslintIgnore": [ "node_modules/", "lib/", "MMKV" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.json" } ] ] }, "codegenConfig": { "name": "RNMmkvSpec", "type": "modules", "jsSrcsDir": "src" }, "packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447" }