Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

package.json

66 lines1.7 KB

1{
2 "name": "@tanstack/react-query",
3 "version": "5.0.0-alpha.24",
4 "description": "Hooks for managing, caching and syncing asynchronous and remote data in React",
5 "author": "tannerlinsley",
6 "license": "MIT",
7 "repository": "tanstack/query",
8 "homepage": "https://tanstack.com/query",
9 "funding": {
10 "type": "github",
11 "url": "https://github.com/sponsors/tannerlinsley"
12 },
13 "types": "build/lib/index.d.ts",
14 "main": "build/lib/index.js",
15 "module": "build/lib/index.esm.js",
16 "exports": {
17 ".": {
18 "types": "./build/lib/index.d.ts",
19 "import": "./build/lib/index.mjs",
20 "default": "./build/lib/index.js"
21 },
22 "./package.json": "./package.json"
23 },
24 "sideEffects": false,
25 "scripts": {
26 "clean": "rimraf ./build",
27 "test:eslint": "eslint --ext .ts,.tsx ./src",
28 "test:types": "tsc",
29 "test:lib": "vitest run --coverage",
30 "test:lib:dev": "pnpm run test:lib --watch",
31 "build": "mkdir -p ./build && cp -R ../codemods/src ./build/codemods",
32 "build:types": "tsc --build"
33 },
34 "files": [
35 "build/lib/*",
36 "build/umd/*",
37 "src",
38 "build/codemods",
39 "!build/codemods/jest.config.js",
40 "!build/codemods/**/__testfixtures__",
41 "!build/codemods/**/__tests__"
42 ],
43 "devDependencies": {
44 "@types/react": "^18.0.14",
45 "@types/react-dom": "^18.0.5",
46 "react": "^18.2.0",
47 "react-dom": "^18.2.0",
48 "react-error-boundary": "^3.1.4"
49 },
50 "dependencies": {
51 "@tanstack/query-core": "workspace:*"
52 },
53 "peerDependencies": {
54 "react": "^18.0.0",
55 "react-dom": "^18.0.0",
56 "react-native": "*"
57 },
58 "peerDependenciesMeta": {
59 "react-dom": {
60 "optional": true
61 },
62 "react-native": {
63 "optional": true
64 }
65 }