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

package.json

94 lines3.6 KB

1{
2 "name": "@tanstack/vue-query",
3 "version": "5.108.3",
4 "description": "Hooks for managing, caching and syncing asynchronous and remote data in Vue",
5 "author": "Damian Osipiuk",
6 "license": "MIT",
7 "repository": {
8 "type": "git",
9 "url": "git+https://github.com/TanStack/query.git",
10 "directory": "packages/vue-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 ./.cache/test-types",
19 "compile": "node ../../node_modules/typescript/lib/tsc.js --project tsconfig.json",
20 "test:oxlint": "oxlint ./src",
21 "test:types": "vue-demi-switch 3 && npm-run-all --serial test:types:*",
22 "test:types:ts57": "node ../../node_modules/typescript57/lib/tsc.js --project tsconfig.legacy.json --outDir .cache/test-types/ts57 --tsBuildInfoFile .cache/test-types/ts57.tsbuildinfo",
23 "test:types:ts58": "node ../../node_modules/typescript58/lib/tsc.js --project tsconfig.legacy.json --outDir .cache/test-types/ts58 --tsBuildInfoFile .cache/test-types/ts58.tsbuildinfo",
24 "test:types:ts59": "node ../../node_modules/typescript59/lib/tsc.js --project tsconfig.legacy.json --outDir .cache/test-types/ts59 --tsBuildInfoFile .cache/test-types/ts59.tsbuildinfo",
25 "test:types:tscurrent": "tsc --project tsconfig.json --outDir .cache/test-types/tscurrent --tsBuildInfoFile .cache/test-types/tscurrent.tsbuildinfo",
26 "test:types:ts70": "node ../../node_modules/typescript70/lib/tsc.js --project tsconfig.legacy.json --outDir .cache/test-types/ts70 --tsBuildInfoFile .cache/test-types/ts70.tsbuildinfo",
27 "test:types:ts71": "node ../../node_modules/typescript71/lib/tsc.js --project tsconfig.legacy.json --outDir .cache/test-types/ts71 --tsBuildInfoFile .cache/test-types/ts71.tsbuildinfo",
28 "test:lib": "pnpm run test:lib:2 && pnpm run test:lib:2.7 && pnpm run test:lib:3",
29 "test:lib:2": "vue-demi-switch 2 vue2 && vitest",
30 "test:lib:2.7": "vue-demi-switch 2.7 vue2.7 && vitest",
31 "test:lib:3": "vue-demi-switch 3 && vitest",
32 "test:lib:dev": "pnpm run test:lib --watch",
33 "test:build": "publint --strict && attw --pack",
34 "build": "tsdown --tsconfig tsconfig.prod.json"
35 },
36 "nx": {
37 "targets": {
38 "test:lib": {
39 "parallelism": false
40 },
41 "test:types": {
42 "parallelism": false
43 }
44 }
45 },
46 "type": "module",
47 "types": "build/legacy/index.d.ts",
48 "main": "build/legacy/index.cjs",
49 "module": "build/legacy/index.js",
50 "exports": {
51 ".": {
52 "@tanstack/custom-condition": "./src/index.ts",
53 "import": {
54 "types": "./build/modern/index.d.ts",
55 "default": "./build/modern/index.js"
56 },
57 "require": {
58 "types": "./build/modern/index.d.cts",
59 "default": "./build/modern/index.cjs"
60 }
61 },
62 "./package.json": "./package.json"
63 },
64 "sideEffects": false,
65 "files": [
66 "build",
67 "src",
68 "!src/__tests__"
69 ],
70 "dependencies": {
71 "@tanstack/match-sorter-utils": "^9.1.2",
72 "@tanstack/query-core": "workspace:*",
73 "@vue/devtools-api": "^6.6.3",
74 "vue-demi": "^0.14.10"
75 },
76 "devDependencies": {
77 "@tanstack/query-test-utils": "workspace:*",
78 "@vue/composition-api": "1.7.2",
79 "typescript": "catalog:",
80 "unplugin-vue": "catalog:",
81 "vue": "catalog:",
82 "vue2": "npm:vue@2.6",
83 "vue2.7": "npm:vue@2.7"
84 },
85 "peerDependencies": {
86 "@vue/composition-api": "^1.1.2",
87 "vue": "^2.6.0 || ^3.3.0"
88 },
89 "peerDependenciesMeta": {
90 "@vue/composition-api": {
91 "optional": true
92 }
93 }