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

package.json

63 lines1.7 KB

1{
2 "name": "@tanstack/react-query-persist-client",
3 "version": "5.0.0",
4 "description": "React bindings to work with persisters in TanStack/react-query",
5 "author": "tannerlinsley",
6 "license": "MIT",
7 "repository": {
8 "type": "git",
9 "url": "https://github.com/TanStack/query.git",
10 "directory": "packages/react-query-persist-client"
11 },
12 "homepage": "https://tanstack.com/query",
13 "funding": {
14 "type": "github",
15 "url": "https://github.com/sponsors/tannerlinsley"
16 },
17 "type": "module",
18 "types": "build/legacy/index.d.ts",
19 "main": "build/legacy/index.cjs",
20 "module": "build/legacy/index.js",
21 "exports": {
22 ".": {
23 "import": {
24 "types": "./build/modern/index.d.ts",
25 "default": "./build/modern/index.js"
26 },
27 "require": {
28 "types": "./build/modern/index.d.cts",
29 "default": "./build/modern/index.cjs"
30 }
31 },
32 "./package.json": "./package.json"
33 },
34 "sideEffects": false,
35 "files": [
36 "build",
37 "src"
38 ],
39 "scripts": {
40 "clean": "rimraf ./build && rimraf ./coverage",
41 "test:eslint": "eslint --ext .ts,.tsx ./src",
42 "test:types": "tsc",
43 "test:lib": "vitest run --coverage",
44 "test:lib:dev": "pnpm run test:lib --watch",
45 "test:build": "publint --strict",
46 "build": "tsup"
47 },
48 "dependencies": {
49 "@tanstack/query-persist-client-core": "workspace:*"
50 },
51 "devDependencies": {
52 "@tanstack/react-query": "workspace:*",
53 "@types/react": "^18.2.31",
54 "@types/react-dom": "^18.2.14",
55 "react": "^18.2.0",
56 "react-dom": "^18.2.0"
57 },
58 "peerDependencies": {
59 "@tanstack/react-query": "workspace:^",
60 "react": "^18.0.0",
61 "react-dom": "^18.0.0"
62 }