Open History to see the last commit
1{
2 "name": "@tanstack/react-query",
3 "version": "4.36.1",
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": "^18.0.14",
51 "@types/react-dom": "^18.0.5",
52 "@types/use-sync-external-store": "^0.0.3",
53 "react": "^18.2.0",
54 "react-17": "npm:react@^17.0.2",
55 "react-dom": "^18.2.0",
56 "react-dom-17": "npm:react-dom@^17.0.2",
57 "jscodeshift": "^0.13.1",
58 "react-error-boundary": "^3.1.4"
59 },
60 "dependencies": {
61 "@tanstack/query-core": "workspace:*",
62 "use-sync-external-store": "^1.2.0"
63 },
64 "peerDependencies": {
65 "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
66 "react-dom": "^16.8.0 || ^17.0.0 || ^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}