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

package.json

90 lines2.8 KB

1{
2 "name": "@tanstack/vue-query",
3 "version": "5.51.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": "rimraf ./build && rimraf ./coverage",
19 "test:eslint": "eslint ./src",
20 "test:types": "vue-demi-switch 3 && pnpm run \"/^test:types:ts[0-9]{2}$/\"",
21 "test:types:ts47": "node ../../node_modules/typescript47/lib/tsc.js -p tsconfig.legacy.json",
22 "test:types:ts48": "node ../../node_modules/typescript48/lib/tsc.js -p tsconfig.legacy.json",
23 "test:types:ts49": "node ../../node_modules/typescript49/lib/tsc.js -p tsconfig.legacy.json",
24 "test:types:ts50": "node ../../node_modules/typescript50/lib/tsc.js -p tsconfig.legacy.json",
25 "test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js -p tsconfig.legacy.json",
26 "test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js -p tsconfig.legacy.json",
27 "test:types:ts53": "tsc",
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": "tsup"
35 },
36 "type": "module",
37 "types": "build/legacy/index.d.ts",
38 "main": "build/legacy/index.cjs",
39 "module": "build/legacy/index.js",
40 "exports": {
41 ".": {
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 ],
58 "nx": {
59 "targets": {
60 "test:lib": {
61 "dependsOn": [
62 "test:types"
63 ]
64 }
65 }
66 },
67 "dependencies": {
68 "@tanstack/match-sorter-utils": "^8.15.1",
69 "@tanstack/query-core": "workspace:*",
70 "@vue/devtools-api": "^6.5.1",
71 "vue-demi": "^0.14.7"
72 },
73 "devDependencies": {
74 "@vitejs/plugin-vue": "^5.0.4",
75 "@vue/composition-api": "1.7.2",
76 "eslint-plugin-vue": "^9.27.0",
77 "vue": "^3.4.27",
78 "vue2": "npm:vue@2.6",
79 "vue2.7": "npm:vue@2.7"
80 },
81 "peerDependencies": {
82 "@vue/composition-api": "^1.1.2",
83 "vue": "^2.6.0 || ^3.3.0"
84 },
85 "peerDependenciesMeta": {
86 "@vue/composition-api": {
87 "optional": true
88 }
89 }