UNPKG

@tanstack/react-query

Version:

Hooks for managing, caching and syncing asynchronous and remote data in React

67 lines (66 loc) 1.84 kB
{ "name": "@tanstack/react-query", "version": "4.4.0", "description": "Hooks for managing, caching and syncing asynchronous and remote data in React", "author": "tannerlinsley", "license": "MIT", "repository": "tanstack/query", "homepage": "https://tanstack.com/query", "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" }, "types": "build/lib/index.d.ts", "main": "build/lib/index.js", "module": "build/lib/index.esm.js", "exports": { ".": { "types": "./build/lib/index.d.ts", "import": "./build/lib/index.mjs", "default": "./build/lib/index.js" }, "./package.json": "./package.json" }, "sideEffects": [ "./src/setBatchUpdatesFn.ts" ], "scripts": { "clean": "rm -rf ./build", "test:codemods": "../../node_modules/.bin/jest --config codemods/jest.config.js", "test:eslint": "../../node_modules/.bin/eslint --ext .ts,.tsx ./src", "test:jest": "yarn test:codemods && ../../node_modules/.bin/jest --config jest.config.js", "test:jest:dev": "yarn test:jest --watch" }, "files": [ "build/lib/*", "build/umd/*", "src", "codemods", "!codemods/jest.config.js", "!codemods/**/__testfixtures__", "!codemods/**/__tests__" ], "devDependencies": { "@types/jscodeshift": "^0.11.3", "@types/use-sync-external-store": "^0.0.3", "jscodeshift": "^0.13.1", "react-error-boundary": "^3.1.4" }, "dependencies": { "@tanstack/query-core": "4.4.0", "use-sync-external-store": "^1.2.0" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-native": "*" }, "peerDependenciesMeta": { "react-dom": { "optional": true }, "react-native": { "optional": true } } }