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

package.json

73 lines2.5 KB

1{
2 "name": "@tanstack/react-query-persist-client",
3 "version": "5.66.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 "scripts": {
18 "clean": "premove ./build ./coverage ./dist-ts",
19 "compile": "tsc --build",
20 "test:eslint": "eslint ./src",
21 "test:types": "npm-run-all --serial test:types:*",
22 "test:types:ts50": "node ../../node_modules/typescript50/lib/tsc.js --build tsconfig.legacy.json",
23 "test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js --build tsconfig.legacy.json",
24 "test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js --build tsconfig.legacy.json",
25 "test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js --build tsconfig.legacy.json",
26 "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js --build tsconfig.legacy.json",
27 "test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js --build tsconfig.legacy.json",
28 "test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js --build tsconfig.legacy.json",
29 "test:types:ts57": "tsc --build",
30 "test:lib": "vitest --retry=3",
31 "test:lib:dev": "pnpm run test:lib --watch",
32 "test:build": "publint --strict && attw --pack",
33 "build": "tsup --tsconfig tsconfig.prod.json"
34 },
35 "type": "module",
36 "types": "build/legacy/index.d.ts",
37 "main": "build/legacy/index.cjs",
38 "module": "build/legacy/index.js",
39 "exports": {
40 ".": {
41 "import": {
42 "types": "./build/modern/index.d.ts",
43 "default": "./build/modern/index.js"
44 },
45 "require": {
46 "types": "./build/modern/index.d.cts",
47 "default": "./build/modern/index.cjs"
48 }
49 },
50 "./package.json": "./package.json"
51 },
52 "sideEffects": false,
53 "files": [
54 "build",
55 "src",
56 "!src/__tests__"
57 ],
58 "dependencies": {
59 "@tanstack/query-persist-client-core": "workspace:*"
60 },
61 "devDependencies": {
62 "@tanstack/react-query": "workspace:*",
63 "@testing-library/react": "^16.1.0",
64 "@types/react": "^19.0.1",
65 "@vitejs/plugin-react": "^4.3.3",
66 "npm-run-all": "^4.1.5",
67 "react": "^19.0.0"
68 },
69 "peerDependencies": {
70 "@tanstack/react-query": "workspace:^",
71 "react": "^18 || ^19"
72 }