Open History to see the last commit
1{
2 "name": "@tanstack/react-query",
3 "version": "5.18.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 "type": "module",
18 "types": "build/legacy/index.d.ts",
19 "main": "build/legacy/index.cjs",
20 "module": "build/legacy/index.js",
21 "exports": {
22 ".": {
23 "import": {
24 "types": "./build/modern/index.d.ts",
25 "default": "./build/modern/index.js"
26 },
27 "require": {
28 "types": "./build/modern/index.d.cts",
29 "default": "./build/modern/index.cjs"
30 }
31 },
32 "./package.json": "./package.json"
33 },
34 "sideEffects": false,
35 "scripts": {
36 "clean": "rimraf ./build && rimraf ./coverage",
37 "test:eslint": "eslint --ext .ts,.tsx ./src",
38 "test:types": "tsc",
39 "test:lib": "vitest --retry=3",
40 "test:lib:dev": "pnpm run test:lib --watch",
41 "test:build": "publint --strict",
42 "build": "pnpm build:tsup && pnpm build:codemods",
43 "build:tsup": "tsup",
44 "build:codemods": "cpy ../codemods/* ./build/codemods"
45 },
46 "files": [
47 "build",
48 "src",
49 "!build/codemods/node_modules",
50 "!build/codemods/vite.config.ts",
51 "!build/codemods/**/__testfixtures__",
52 "!build/codemods/**/__tests__"
53 ],
54 "dependencies": {
55 "@tanstack/query-core": "workspace:*"
56 },
57 "devDependencies": {
58 "@types/react": "^18.2.45",
59 "@types/react-dom": "^18.2.18",
60 "@vitejs/plugin-react": "^4.2.1",
61 "react": "^18.2.0",
62 "react-dom": "^18.2.0",
63 "react-error-boundary": "^4.0.12"
64 },
65 "peerDependencies": {
66 "react": "^18.0.0"
67 }
68}