Open History to see the last commit
1{
2 "name": "@tanstack/vue-query",
3 "version": "5.62.12",
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": "rimraf ./build ./coverage",
19 "test:eslint": "eslint ./src",
20 "test:types": "vue-demi-switch 3 && pnpm run \"/^test:types:ts[0-9]{2}$/\"",
21 "test:types:ts50": "node ../../node_modules/typescript50/lib/tsc.js -p tsconfig.legacy.json",
22 "test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js -p tsconfig.legacy.json",
23 "test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js -p tsconfig.legacy.json",
24 "test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js -p tsconfig.legacy.json",
25 "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js -p tsconfig.legacy.json",
26 "test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js -p tsconfig.legacy.json",
27 "test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js -p tsconfig.legacy.json",
28 "test:types:ts57": "tsc",
29 "test:lib": "pnpm run test:lib:2 && pnpm run test:lib:2.7 && pnpm run test:lib:3",
30 "test:lib:2": "vue-demi-switch 2 vue2 && vitest",
31 "test:lib:2.7": "vue-demi-switch 2.7 vue2.7 && vitest",
32 "test:lib:3": "vue-demi-switch 3 && vitest",
33 "test:lib:dev": "pnpm run test:lib --watch",
34 "test:build": "publint --strict && attw --pack",
35 "build": "tsup"
36 },
37 "type": "module",
38 "types": "build/legacy/index.d.ts",
39 "main": "build/legacy/index.cjs",
40 "module": "build/legacy/index.js",
41 "exports": {
42 ".": {
43 "import": {
44 "types": "./build/modern/index.d.ts",
45 "default": "./build/modern/index.js"
46 },
47 "require": {
48 "types": "./build/modern/index.d.cts",
49 "default": "./build/modern/index.cjs"
50 }
51 },
52 "./package.json": "./package.json"
53 },
54 "sideEffects": false,
55 "files": [
56 "build",
57 "src",
58 "!src/__tests__"
59 ],
60 "nx": {
61 "targets": {
62 "test:lib": {
63 "dependsOn": [
64 "test:types"
65 ]
66 }
67 }
68 },
69 "dependencies": {
70 "@tanstack/match-sorter-utils": "^8.19.4",
71 "@tanstack/query-core": "workspace:*",
72 "@vue/devtools-api": "^6.6.3",
73 "vue-demi": "^0.14.10"
74 },
75 "devDependencies": {
76 "@vitejs/plugin-vue": "^5.2.1",
77 "@vue/composition-api": "1.7.2",
78 "eslint-plugin-vue": "^9.27.0",
79 "vue": "^3.4.27",
80 "vue2": "npm:vue@2.6",
81 "vue2.7": "npm:vue@2.7"
82 },
83 "peerDependencies": {
84 "@vue/composition-api": "^1.1.2",
85 "vue": "^2.6.0 || ^3.3.0"
86 },
87 "peerDependenciesMeta": {
88 "@vue/composition-api": {
89 "optional": true
90 }
91 }
92}