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

package.json

81 lines2.0 KB

1{
2 "name": "@tanstack/vue-query",
3 "version": "5.0.4",
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 "type": "module",
18 "types": "build/legacy/index.d.ts",
19 "main": "build/legacy/index.cjs",
20 "module": "build/legacy/index.js",
21 "exports": {
22 ".": {
23 "import": {
24 "types": "./build/modern/index.d.ts",
25 "default": "./build/modern/index.js"
26 },
27 "require": {
28 "types": "./build/modern/index.d.cts",
29 "default": "./build/modern/index.cjs"
30 }
31 },
32 "./package.json": "./package.json"
33 },
34 "sideEffects": false,
35 "scripts": {
36 "clean": "rimraf ./build && rimraf ./coverage",
37 "test:eslint": "eslint --ext .ts,.tsx ./src",
38 "test:types": "tsc",
39 "test:lib": "pnpm run test:2 && pnpm run test:2.7 && pnpm run test:3",
40 "test:2": "vue-demi-switch 2 vue2 && vitest",
41 "test:2.7": "vue-demi-switch 2.7 vue2.7 && vitest",
42 "test:3": "vue-demi-switch 3 && vitest",
43 "test:lib:dev": "pnpm run test:lib --watch",
44 "test:build": "publint --strict",
45 "build": "tsup"
46 },
47 "nx": {
48 "targets": {
49 "test:lib": {
50 "dependsOn": [
51 "test:types"
52 ]
53 }
54 }
55 },
56 "files": [
57 "build",
58 "src"
59 ],
60 "dependencies": {
61 "@tanstack/match-sorter-utils": "^8.8.4",
62 "@tanstack/query-core": "workspace:*",
63 "@vue/devtools-api": "^6.5.0",
64 "vue-demi": "^0.14.6"
65 },
66 "devDependencies": {
67 "@vue/composition-api": "1.7.2",
68 "vue": "^3.3.0",
69 "vue2": "npm:vue@2.6",
70 "vue2.7": "npm:vue@2.7"
71 },
72 "peerDependencies": {
73 "@vue/composition-api": "^1.1.2",
74 "vue": "^2.6.0 || ^3.3.0"
75 },
76 "peerDependenciesMeta": {
77 "@vue/composition-api": {
78 "optional": true
79 }
80 }