-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
/
package.json
72 lines (72 loc) 路 2 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"name": "@tanstack/react-query",
"version": "4.20.3",
"description": "Hooks for managing, caching and syncing asynchronous and remote data in React",
"author": "tannerlinsley",
"license": "MIT",
"repository": "tanstack/query",
"homepage": "https://tanstack.com/query",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/tannerlinsley"
},
"types": "build/lib/index.d.ts",
"main": "build/lib/index.js",
"module": "build/lib/index.esm.js",
"exports": {
".": {
"types": "./build/lib/index.d.ts",
"import": "./build/lib/index.mjs",
"default": "./build/lib/index.js"
},
"./package.json": "./package.json"
},
"sideEffects": [
"./src/setBatchUpdatesFn.ts"
],
"scripts": {
"clean": "rm -rf ./build",
"test:codemods": "../../node_modules/.bin/jest --config codemods/jest.config.js",
"test:eslint": "../../node_modules/.bin/eslint --ext .ts,.tsx ./src",
"test:jest": "pnpm run test:codemods && ../../node_modules/.bin/jest --config ./jest.config.ts",
"test:dev": "pnpm run test:jest --watch"
},
"files": [
"build/lib/*",
"build/umd/*",
"src",
"codemods",
"!codemods/jest.config.js",
"!codemods/**/__testfixtures__",
"!codemods/**/__tests__"
],
"devDependencies": {
"@types/jscodeshift": "^0.11.3",
"@types/react": "^18.0.14",
"@types/react-dom": "^18.0.5",
"@types/use-sync-external-store": "^0.0.3",
"react": "^18.2.0",
"react-17": "npm:react@^17.0.2",
"react-dom": "^18.2.0",
"react-dom-17": "npm:react-dom@^17.0.2",
"jscodeshift": "^0.13.1",
"react-error-boundary": "^3.1.4"
},
"dependencies": {
"@tanstack/query-core": "workspace:*",
"use-sync-external-store": "^1.2.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-native": "*"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
},
"react-native": {
"optional": true
}
}
}