File size: 3,182 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
  "name": "@tanstack/vue-query",
  "version": "5.83.0",
  "description": "Hooks for managing, caching and syncing asynchronous and remote data in Vue",
  "author": "Damian Osipiuk",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/TanStack/query.git",
    "directory": "packages/vue-query"
  },
  "homepage": "https://tanstack.com/query",
  "funding": {
    "type": "github",
    "url": "https://github.com/sponsors/tannerlinsley"
  },
  "scripts": {
    "clean": "premove ./build ./coverage ./dist-ts",
    "compile": "tsc --build",
    "test:eslint": "eslint ./src",
    "test:types": "vue-demi-switch 3 && pnpm run \"/^test:types:ts[0-9]{2}$/\"",
    "test:types:ts50": "node ../../node_modules/typescript50/lib/tsc.js --build tsconfig.legacy.json",
    "test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js --build tsconfig.legacy.json",
    "test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js --build tsconfig.legacy.json",
    "test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js --build tsconfig.legacy.json",
    "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js --build tsconfig.legacy.json",
    "test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js --build tsconfig.legacy.json",
    "test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js --build tsconfig.legacy.json",
    "test:types:ts57": "node ../../node_modules/typescript57/lib/tsc.js --build tsconfig.legacy.json",
    "test:types:tscurrent": "tsc --build",
    "test:lib": "pnpm run test:lib:2 && pnpm run test:lib:2.7 && pnpm run test:lib:3",
    "test:lib:2": "vue-demi-switch 2 vue2 && vitest",
    "test:lib:2.7": "vue-demi-switch 2.7 vue2.7 && vitest",
    "test:lib:3": "vue-demi-switch 3 && vitest",
    "test:lib:dev": "pnpm run test:lib --watch",
    "test:build": "publint --strict && attw --pack",
    "build": "tsup --tsconfig tsconfig.prod.json"
  },
  "type": "module",
  "types": "build/legacy/index.d.ts",
  "main": "build/legacy/index.cjs",
  "module": "build/legacy/index.js",
  "exports": {
    ".": {
      "@tanstack/custom-condition": "./src/index.ts",
      "import": {
        "types": "./build/modern/index.d.ts",
        "default": "./build/modern/index.js"
      },
      "require": {
        "types": "./build/modern/index.d.cts",
        "default": "./build/modern/index.cjs"
      }
    },
    "./package.json": "./package.json"
  },
  "sideEffects": false,
  "files": [
    "build",
    "src",
    "!src/__tests__"
  ],
  "dependencies": {
    "@tanstack/match-sorter-utils": "^8.19.4",
    "@tanstack/query-core": "workspace:*",
    "@vue/devtools-api": "^6.6.3",
    "vue-demi": "^0.14.10"
  },
  "devDependencies": {
    "@tanstack/query-test-utils": "workspace:*",
    "@vitejs/plugin-vue": "^5.2.4",
    "@vue/composition-api": "1.7.2",
    "eslint-plugin-vue": "^9.27.0",
    "vue": "^3.4.27",
    "vue2": "npm:vue@2.6",
    "vue2.7": "npm:vue@2.7"
  },
  "peerDependencies": {
    "@vue/composition-api": "^1.1.2",
    "vue": "^2.6.0 || ^3.3.0"
  },
  "peerDependenciesMeta": {
    "@vue/composition-api": {
      "optional": true
    }
  }
}