Open History to see the last commit
1{
2 "name": "@tanstack/react-query",
3 "version": "4.44.0",
4 "description": "Hooks for managing, caching and syncing asynchronous and remote data in React",
5 "author": "tannerlinsley",
6 "license": "MIT",
7 "repository": {
8 "type": "git",
9 "url": "https://github.com/TanStack/query.git",
10 "directory": "packages/react-query"
11 },
12 "homepage": "https://tanstack.com/query",
13 "funding": {
14 "type": "github",
15 "url": "https://github.com/sponsors/tannerlinsley"
16 },
17 "types": "build/lib/index.d.ts",
18 "main": "build/lib/index.js",
19 "module": "build/lib/index.esm.js",
20 "exports": {
21 ".": {
22 "types": "./build/lib/index.d.ts",
23 "import": "./build/lib/index.mjs",
24 "default": "./build/lib/index.js"
25 },
26 "./package.json": "./package.json"
27 },
28 "sideEffects": [
29 "./src/setBatchUpdatesFn.ts"
30 ],
31 "scripts": {
32 "clean": "rimraf ./build",
33 "test:eslint": "eslint --ext .ts,.tsx ./src",
34 "test:types": "tsc",
35 "test:lib": "jest --config ./jest.config.ts",
36 "test:lib:dev": "pnpm run test:lib --watch",
37 "build:types": "tsc --build"
38 },
39 "files": [
40 "build/lib/*",
41 "build/umd/*",
42 "src",
43 "codemods",
44 "!codemods/jest.config.js",
45 "!codemods/**/__testfixtures__",
46 "!codemods/**/__tests__"
47 ],
48 "devDependencies": {
49 "@types/jscodeshift": "^0.11.3",
50 "@types/react": "^19.1.9",
51 "@types/react-dom": "^19.1.7",
52 "@types/use-sync-external-store": "^1.5.0",
53 "react": "^19.1.1",
54 "react-17": "npm:react@^17.0.2",
55 "react-18": "npm:react@^18.2.0",
56 "react-dom": "^19.1.1",
57 "react-dom-17": "npm:react-dom@^17.0.2",
58 "react-dom-18": "npm:react-dom@^18.2.0",
59 "jscodeshift": "^0.13.1",
60 "react-error-boundary": "^3.1.4"
61 },
62 "dependencies": {
63 "@tanstack/query-core": "workspace:*",
64 "use-sync-external-store": "^1.6.0"
65 },
66 "peerDependencies": {
67 "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
68 "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
69 "react-native": "*"
70 },
71 "peerDependenciesMeta": {
72 "react-dom": {
73 "optional": true
74 },
75 "react-native": {
76 "optional": true
77 }
78 }
79}