Open History to see the last commit
1{
2 "name": "@tanstack/preact-query",
3 "version": "5.91.1",
4 "description": "Hooks for managing, caching and syncing asynchronous and remote data in preact",
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"
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: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": "node ../../node_modules/typescript57/lib/tsc.js --build tsconfig.legacy.json",
30 "test:types:tscurrent": "tsc --build",
31 "test:lib": "vitest",
32 "test:lib:dev": "pnpm run test:lib --watch",
33 "test:build": "publint --strict && attw --pack",
34 "build": "pnpm build:tsup && pnpm build:codemods",
35 "build:tsup": "tsup --tsconfig tsconfig.prod.json",
36 "build:codemods": "cpy ../query-codemods/* ./build/codemods"
37 },
38 "type": "module",
39 "types": "build/legacy/index.d.ts",
40 "main": "build/legacy/index.cjs",
41 "module": "build/legacy/index.js",
42 "exports": {
43 ".": {
44 "@tanstack/custom-condition": "./src/index.ts",
45 "import": {
46 "types": "./build/modern/index.d.ts",
47 "default": "./build/modern/index.js"
48 },
49 "require": {
50 "types": "./build/modern/index.d.cts",
51 "default": "./build/modern/index.cjs"
52 }
53 },
54 "./package.json": "./package.json"
55 },
56 "sideEffects": false,
57 "files": [
58 "build",
59 "src",
60 "!src/__tests__",
61 "!build/codemods/node_modules",
62 "!build/codemods/vite.config.ts",
63 "!build/codemods/**/__testfixtures__",
64 "!build/codemods/**/__tests__"
65 ],
66 "dependencies": {
67 "@tanstack/query-core": "workspace:*"
68 },
69 "devDependencies": {
70 "@preact/preset-vite": "^2.10.2",
71 "@tanstack/query-persist-client-core": "workspace:*",
72 "@tanstack/query-test-utils": "workspace:*",
73 "@testing-library/preact": "^3.2.4",
74 "cpy-cli": "^5.0.0",
75 "eslint-config-preact": "^2.0.0",
76 "npm-run-all2": "^5.0.0",
77 "preact": "^10.28.0",
78 "preact-render-to-string": "^6.6.4",
79 "typescript-eslint": "^8.54.0"
80 },
81 "peerDependencies": {
82 "preact": "^10.0.0"
83 }
84}