UNPKG

@realm/react

Version:

React specific hooks and implementation helpers for Realm

110 lines (109 loc) 2.56 kB
{ "name": "@realm/react", "version": "0.20.0", "description": "React specific hooks and implementation helpers for Realm", "type": "module", "main": "dist/index.cjs", "module": "dist/index.js", "types": "dist/index.d.ts", "source": "src/index.tsx", "scripts": { "bundle": "wireit", "start": "npm run bundle -- --watch", "test": "wireit", "lint": "eslint --ext .tsx .", "docs": "wireit" }, "wireit": { "bundle": { "command": "rollup --config && tsc -p tsconfig.types.json", "dependencies": [ "../realm:build:ts", "../realm-common:bundle" ], "files": [ "rollup.config.js", "src/**/*.ts", "src/**/*.tsx" ], "output": [ "dist" ] }, "test": { "command": "jest --forceExit", "dependencies": [ "../realm:build:ts", "../realm:build:node", "../realm-common:bundle" ] }, "docs": { "command": "typedoc", "dependencies": [ "bundle" ] } }, "devDependencies": { "@babel/core": "^7.24.6", "@babel/preset-env": "^7.24.6", "@babel/preset-typescript": "^7.24.6", "@babel/runtime": "^7.24.6", "@react-native/babel-preset": "0.80.2", "@realm/app-importer": "*", "@testing-library/react-native": "^12.8.0", "@types/jest": "^29.5.12", "@types/react": "^19.1.9", "@types/lodash.isequal": "^4.5.8", "babel-jest": "^29.7.0", "babel-plugin-module-resolver": "^5.0.0", "fb-watchman": "^2.0.1", "jest": "^29.6.3", "prettier": "2.8.8", "react": "19.1.1", "react-native": "0.80.2", "react-test-renderer": "19.1.1", "realm": "*", "ts-jest": "^29.1.2" }, "peerDependencies": { "react": ">=17.0.2", "realm": ">=20.0.0" }, "optionalDependencies": { "@babel/runtime": ">=7", "react-native": ">=0.68" }, "files": [ "dist", "LICENSE", "lib", "package.json", "README.md", "src" ], "keywords": [ "realm", "react", "hooks" ], "author": { "name": "MongoDB", "email": "help@realm.io", "url": "https://www.mongodb.com/docs/realm/" }, "repository": { "type": "git", "url": "https://github.com/realm/realm-js.git", "directory": "packages/realm-react" }, "homepage": "https://github.com/realm/realm-js/tree/main/packages/realm-react#readme", "bugs": { "url": "https://github.com/realm/realm-js/issues" }, "license": "Apache-2.0", "dependencies": { "lodash.isequal": "^4.5.0" } }