Open History to see the last commit
1{
2 "name": "@tanstack/react-query",
3 "version": "5.62.2",
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 "scripts": {
18 "clean": "rimraf ./build ./coverage",
19 "test:eslint": "eslint ./src",
20 "test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"",
21 "test:types:ts50": "node ../../node_modules/typescript50/lib/tsc.js -p tsconfig.legacy.json",
22 "test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js -p tsconfig.legacy.json",
23 "test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js -p tsconfig.legacy.json",
24 "test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js -p tsconfig.legacy.json",
25 "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js -p tsconfig.legacy.json",
26 "test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js -p tsconfig.legacy.json",
27 "test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js -p tsconfig.legacy.json",
28 "test:types:ts57": "tsc",
29 "test:lib": "vitest",
30 "test:lib:dev": "pnpm run test:lib --watch",
31 "test:build": "publint --strict && attw --pack",
32 "build": "pnpm build:tsup && pnpm build:codemods",
33 "build:tsup": "tsup",
34 "build:codemods": "cpy ../query-codemods/* ./build/codemods"
35 },
36 "type": "module",
37 "types": "build/legacy/index.d.ts",
38 "main": "build/legacy/index.cjs",
39 "module": "build/legacy/index.js",
40 "exports": {
41 ".": {
42 "import": {
43 "types": "./build/modern/index.d.ts",
44 "default": "./build/modern/index.js"
45 },
46 "require": {
47 "types": "./build/modern/index.d.cts",
48 "default": "./build/modern/index.cjs"
49 }
50 },
51 "./package.json": "./package.json"
52 },
53 "sideEffects": false,
54 "files": [
55 "build",
56 "src",
57 "!src/__tests__",
58 "!build/codemods/node_modules",
59 "!build/codemods/vite.config.ts",
60 "!build/codemods/**/__testfixtures__",
61 "!build/codemods/**/__tests__"
62 ],
63 "dependencies": {
64 "@tanstack/query-core": "workspace:*"
65 },
66 "devDependencies": {
67 "@tanstack/query-persist-client-core": "workspace:*",
68 "@testing-library/react": "^16.0.1",
69 "@types/react": "npm:types-react@rc",
70 "@types/react-dom": "npm:types-react-dom@rc",
71 "@vitejs/plugin-react": "^4.3.3",
72 "eslint-plugin-react-compiler": "19.0.0-beta-0dec889-20241115",
73 "react": "19.0.0-rc-66855b96-20241106",
74 "react-dom": "19.0.0-rc-66855b96-20241106",
75 "react-error-boundary": "^4.1.2"
76 },
77 "peerDependencies": {
78 "react": "^18 || ^19"
79 }
80}