{ "name": "@tanstack/react-query", "version": "5.105.1", "description": "Hooks for managing, caching and syncing asynchronous and remote data in React", "author": "tannerlinsley", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/TanStack/query.git", "directory": "packages/react-query" }, "homepage": "https://tanstack.com/query", "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" }, "scripts": { "clean": "premove ./build ./coverage ./dist-ts ./.cache/test-types", "compile": "tsc --project tsconfig.json", "test:oxlint": "oxlint ./src", "test:types": "npm-run-all --serial test:types:*", "test:types:ts57": "node ../../node_modules/typescript57/lib/tsc.js --project tsconfig.legacy.json --outDir .cache/test-types/ts57 --tsBuildInfoFile .cache/test-types/ts57.tsbuildinfo", "test:types:ts58": "node ../../node_modules/typescript58/lib/tsc.js --project tsconfig.legacy.json --outDir .cache/test-types/ts58 --tsBuildInfoFile .cache/test-types/ts58.tsbuildinfo", "test:types:ts59": "node ../../node_modules/typescript59/lib/tsc.js --project tsconfig.legacy.json --outDir .cache/test-types/ts59 --tsBuildInfoFile .cache/test-types/ts59.tsbuildinfo", "test:types:tscurrent": "tsc --project tsconfig.json --outDir .cache/test-types/tscurrent --tsBuildInfoFile .cache/test-types/tscurrent.tsbuildinfo", "test:types:ts70": "node ../../node_modules/typescript70/lib/tsc.js --project tsconfig.legacy.json --outDir .cache/test-types/ts70 --tsBuildInfoFile .cache/test-types/ts70.tsbuildinfo", "test:types:ts71": "node ../../node_modules/typescript71/lib/tsc.js --project tsconfig.legacy.json --outDir .cache/test-types/ts71 --tsBuildInfoFile .cache/test-types/ts71.tsbuildinfo", "test:lib": "vitest", "test:lib:dev": "pnpm run test:lib --watch", "test:build": "publint --strict && attw --pack", "build": "pnpm build:tsdown && pnpm build:codemods", "build:tsdown": "tsdown --tsconfig tsconfig.prod.json", "build:codemods": "rm -rf ./build/codemods && mkdir ./build/codemods && cp -r ../query-codemods/src/* ./build/codemods" }, "type": "module", "types": "build/legacy/index.d.ts", "main": "build/legacy/index.cjs", "module": "build/legacy/index.js", "react-native": "src/index.ts", "exports": { ".": { "@tanstack/custom-condition": "./src/index.ts", "import": { "types": "./build/modern/index.d.ts", "default": "./build/modern/index.js" }, "require": { "types": "./build/modern/index.d.cts", "default": "./build/modern/index.cjs" } }, "./package.json": "./package.json" }, "sideEffects": false, "files": [ "build", "src", "!src/__tests__", "!build/codemods/node_modules", "!build/codemods/vite.config.ts", "!build/codemods/**/__testfixtures__", "!build/codemods/**/__tests__" ], "dependencies": { "@tanstack/query-core": "workspace:*" }, "devDependencies": { "@eslint-react/eslint-plugin": "catalog:", "@tanstack/query-persist-client-core": "workspace:*", "@tanstack/query-test-utils": "workspace:*", "@testing-library/react": "catalog:", "@testing-library/react-render-stream": "^2.0.2", "@types/react": "catalog:", "@types/react-dom": "catalog:", "@vitejs/plugin-react": "catalog:", "eslint-plugin-react-hooks": "catalog:", "react": "catalog:", "react-dom": "catalog:", "react-error-boundary": "^4.1.2", "typescript": "catalog:" }, "peerDependencies": { "@types/react": "^18 || ^19", "react": "^18 || ^19" }, "peerDependenciesMeta": { "@types/react": { "optional": true } } }