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

package.json

71 lines2.0 KB

1{
2 "name": "@tanstack/react-query",
3 "version": "5.0.0-alpha.81",
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 "type": "module",
14 "types": "build/lib/index.d.ts",
15 "main": "build/lib/index.legacy.cjs",
16 "module": "build/lib/index.legacy.js",
17 "exports": {
18 ".": {
19 "types": "./build/lib/index.d.ts",
20 "import": "./build/lib/index.js",
21 "require": "./build/lib/index.cjs",
22 "default": "./build/lib/index.cjs"
23 },
24 "./package.json": "./package.json"
25 },
26 "sideEffects": false,
27 "scripts": {
28 "clean": "rimraf ./build && rimraf ./coverage",
29 "test:eslint": "eslint --ext .ts,.tsx ./src",
30 "test:types": "tsc --noEmit",
31 "test:lib": "vitest run --coverage",
32 "test:lib:dev": "pnpm run test:lib --watch",
33 "test:build": "publint --strict",
34 "build": "pnpm build:rollup && pnpm build:codemods && pnpm build:types",
35 "build:rollup": "rollup --config rollup.config.js",
36 "build:codemods": "cpy ../codemods/src/**/* ./build/codemods",
37 "build:types": "tsc --emitDeclarationOnly"
38 },
39 "files": [
40 "build/lib/*",
41 "src",
42 "build/codemods",
43 "!build/codemods/jest.config.js",
44 "!build/codemods/**/__testfixtures__",
45 "!build/codemods/**/__tests__"
46 ],
47 "dependencies": {
48 "@tanstack/query-core": "workspace:*",
49 "client-only": "0.0.1"
50 },
51 "devDependencies": {
52 "@types/react": "^18.2.4",
53 "@types/react-dom": "^18.2.4",
54 "react": "^18.2.0",
55 "react-dom": "^18.2.0",
56 "react-error-boundary": "^3.1.4"
57 },
58 "peerDependencies": {
59 "react": "^18.0.0",
60 "react-dom": "^18.0.0",
61 "react-native": "*"
62 },
63 "peerDependenciesMeta": {
64 "react-dom": {
65 "optional": true
66 },
67 "react-native": {
68 "optional": true
69 }
70 }