Open History to see the last commit
1{
2 "name": "@tanstack/vue-query",
3 "version": "5.66.9",
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": "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",
19 "compile": "tsc --build",
20 "test:eslint": "eslint ./src",
21 "test:types": "vue-demi-switch 3 && pnpm run \"/^test:types:ts[0-9]{2}$/\"",
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": "pnpm run test:lib:2 && pnpm run test:lib:2.7 && pnpm run test:lib:3",
31 "test:lib:2": "vue-demi-switch 2 vue2 && vitest",
32 "test:lib:2.7": "vue-demi-switch 2.7 vue2.7 && vitest",
33 "test:lib:3": "vue-demi-switch 3 && vitest",
34 "test:lib:dev": "pnpm run test:lib --watch",
35 "test:build": "publint --strict && attw --pack",
36 "build": "tsup --tsconfig tsconfig.prod.json"
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 "import": {
45 "types": "./build/modern/index.d.ts",
46 "default": "./build/modern/index.js"
47 },
48 "require": {
49 "types": "./build/modern/index.d.cts",
50 "default": "./build/modern/index.cjs"
51 }
52 },
53 "./package.json": "./package.json"
54 },
55 "sideEffects": false,
56 "files": [
57 "build",
58 "src",
59 "!src/__tests__"
60 ],
61 "nx": {
62 "targets": {
63 "test:lib": {
64 "dependsOn": [
65 "test:types"
66 ]
67 }
68 }
69 },
70 "dependencies": {
71 "@tanstack/match-sorter-utils": "^8.19.4",
72 "@tanstack/query-core": "workspace:*",
73 "@vue/devtools-api": "^6.6.3",
74 "vue-demi": "^0.14.10"
75 },
76 "devDependencies": {
77 "@vitejs/plugin-vue": "^5.2.1",
78 "@vue/composition-api": "1.7.2",
79 "eslint-plugin-vue": "^9.27.0",
80 "vue": "^3.4.27",
81 "vue2": "npm:vue@2.6",
82 "vue2.7": "npm:vue@2.7"
83 },
84 "peerDependencies": {
85 "@vue/composition-api": "^1.1.2",
86 "vue": "^2.6.0 || ^3.3.0"
87 },
88 "peerDependenciesMeta": {
89 "@vue/composition-api": {
90 "optional": true
91 }
92 }
93}