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

package.json

82 lines2.8 KB

1{
2 "name": "@tanstack/preact-query",
3 "version": "5.102.8",
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: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",
29 "test:lib:dev": "pnpm run test:lib --watch",
30 "test:build": "publint --strict && attw --pack",
31 "build": "pnpm build:tsdown && pnpm build:codemods",
32 "build:tsdown": "tsdown --tsconfig tsconfig.prod.json",
33 "build:codemods": "cpy ../query-codemods/* ./build/codemods"
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 "@tanstack/custom-condition": "./src/index.ts",
42 "import": {
43 "types": "./build/modern/index.d.ts",
44 "default": "./build/modern/index.js"
45 },
46 "require": {
47 "types": "./build/modern/index.d.cts",
48 "default": "./build/modern/index.cjs"
49 }
50 },
51 "./package.json": "./package.json"
52 },
53 "sideEffects": false,
54 "files": [
55 "build",
56 "src",
57 "!src/__tests__",
58 "!build/codemods/node_modules",
59 "!build/codemods/vite.config.ts",
60 "!build/codemods/**/__testfixtures__",
61 "!build/codemods/**/__tests__"
62 ],
63 "dependencies": {
64 "@tanstack/query-core": "workspace:*"
65 },
66 "devDependencies": {
67 "@preact/preset-vite": "^2.10.2",
68 "@tanstack/query-persist-client-core": "workspace:*",
69 "@tanstack/query-test-utils": "workspace:*",
70 "@testing-library/preact": "^3.2.4",
71 "cpy-cli": "^5.0.0",
72 "eslint-config-preact": "^2.0.0",
73 "npm-run-all2": "^5.0.0",
74 "preact": "^10.28.0",
75 "preact-render-to-string": "^6.6.4",
76 "typescript": "6.0.3",
77 "typescript-eslint": "^8.54.0"
78 },
79 "peerDependencies": {
80 "preact": "^10.0.0"
81 }