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

package.json

70 lines1.9 KB

1{
2 "name": "@tanstack/react-query",
3 "version": "5.0.0-alpha.53",
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.cjs",
16 "module": "build/lib/index.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",
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": "^5.0.0-alpha.43"
49 },
50 "devDependencies": {
51 "@types/react": "^18.2.4",
52 "@types/react-dom": "^18.2.4",
53 "react": "^18.2.0",
54 "react-dom": "^18.2.0",
55 "react-error-boundary": "^3.1.4"
56 },
57 "peerDependencies": {
58 "react": "^18.0.0",
59 "react-dom": "^18.0.0",
60 "react-native": "*"
61 },
62 "peerDependenciesMeta": {
63 "react-dom": {
64 "optional": true
65 },
66 "react-native": {
67 "optional": true
68 }
69 }