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

package.json

76 lines2.6 KB

1{
2 "name": "@tanstack/preact-query-persist-client",
3 "version": "5.102.8",
4 "description": "Preact bindings to work with persisters in TanStack/preact-query",
5 "author": "tannerlinsley",
6 "license": "MIT",
7 "repository": {
8 "type": "git",
9 "url": "git+https://github.com/TanStack/query.git",
10 "directory": "packages/preact-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 --concurrency=auto ./src",
21 "test:types": "npm-run-all --serial test:types:*",
22 "test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js --build tsconfig.legacy.json",
23 "test:types:ts57": "node ../../node_modules/typescript57/lib/tsc.js --build tsconfig.legacy.json",
24 "test:types:ts58": "node ../../node_modules/typescript58/lib/tsc.js --build tsconfig.legacy.json",
25 "test:types:ts59": "node ../../node_modules/typescript59/lib/tsc.js --build tsconfig.legacy.json",
26 "test:types:tscurrent": "tsc --build",
27 "test:types:ts70": "node ../../node_modules/typescript70/lib/tsc.js --build",
28 "test:lib": "vitest --retry=3",
29 "test:lib:dev": "pnpm run test:lib --watch",
30 "test:build": "publint --strict && attw --pack",
31 "build": "tsdown --tsconfig tsconfig.prod.json"
32 },
33 "type": "module",
34 "types": "build/legacy/index.d.ts",
35 "main": "build/legacy/index.cjs",
36 "module": "build/legacy/index.js",
37 "exports": {
38 ".": {
39 "@tanstack/custom-condition": "./src/index.ts",
40 "import": {
41 "types": "./build/modern/index.d.ts",
42 "default": "./build/modern/index.js"
43 },
44 "require": {
45 "types": "./build/modern/index.d.cts",
46 "default": "./build/modern/index.cjs"
47 }
48 },
49 "./package.json": "./package.json"
50 },
51 "sideEffects": false,
52 "files": [
53 "build",
54 "src",
55 "!src/__tests__"
56 ],
57 "dependencies": {
58 "@tanstack/query-broadcast-client-experimental": "workspace:*",
59 "@tanstack/query-persist-client-core": "workspace:*"
60 },
61 "devDependencies": {
62 "@preact/preset-vite": "^2.10.2",
63 "@tanstack/preact-query": "workspace:*",
64 "@tanstack/query-test-utils": "workspace:*",
65 "@testing-library/preact": "^3.2.4",
66 "eslint-config-preact": "^2.0.0",
67 "npm-run-all2": "^5.0.0",
68 "preact": "^10.28.0",
69 "typescript": "6.0.3",
70 "typescript-eslint": "^8.54.0"
71 },
72 "peerDependencies": {
73 "@tanstack/preact-query": "workspace:^",
74 "preact": "^10.0.0"
75 }