Open History to see the last commit
1{
2 "name": "@tanstack/react-query",
3 "version": "5.0.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 run --coverage",
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/vitest.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.31",
59 "@types/react-dom": "^18.2.14",
60 "react": "^18.2.0",
61 "react-dom": "^18.2.0",
62 "react-error-boundary": "^3.1.4"
63 },
64 "peerDependencies": {
65 "react": "^18.0.0",
66 "react-dom": "^18.0.0",
67 "react-native": "*"
68 },
69 "peerDependenciesMeta": {
70 "react-dom": {
71 "optional": true
72 },
73 "react-native": {
74 "optional": true
75 }
76 }
77}