Open History to see the last commit
1{
2 "name": "@tanstack/lit-query",
3 "version": "0.2.4",
4 "description": "Lit adapter for TanStack Query Core",
5 "author": "tannerlinsley",
6 "license": "MIT",
7 "repository": {
8 "type": "git",
9 "url": "git+https://github.com/TanStack/query.git",
10 "directory": "packages/lit-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 "main": "dist-cjs/index.js",
19 "module": "dist/index.js",
20 "types": "dist/index.d.ts",
21 "sideEffects": false,
22 "files": [
23 "dist",
24 "dist-cjs",
25 "src/**/*.ts",
26 "!src/tests/**/*"
27 ],
28 "exports": {
29 ".": {
30 "@tanstack/custom-condition": "./src/index.ts",
31 "import": {
32 "types": "./dist/index.d.ts",
33 "default": "./dist/index.js"
34 },
35 "require": {
36 "types": "./dist-cjs/index.d.cts",
37 "default": "./dist-cjs/index.js"
38 },
39 "default": "./dist/index.js"
40 },
41 "./package.json": "./package.json"
42 },
43 "scripts": {
44 "compile": "node ../../node_modules/typescript/lib/tsc.js --build",
45 "build:deps": "pnpm --dir ../query-core run build",
46 "build": "pnpm run build:deps && pnpm run build:esm && pnpm run build:cjs",
47 "build:esm": "node ../../node_modules/typescript/lib/tsc.js -p tsconfig.build.json",
48 "build:cjs": "node -e \"require('node:fs').rmSync('dist-cjs', { recursive: true, force: true })\" && node ../../node_modules/typescript/lib/tsc.js -p tsconfig.build.cjs.json && node scripts/write-cjs-package.mjs",
49 "test:types": "node ../../node_modules/typescript/lib/tsc.js --noEmit",
50 "test:eslint": "eslint .",
51 "lint:fix": "eslint . --fix",
52 "test:lib": "vitest run",
53 "test:lib:dev": "vitest",
54 "test:watch": "pnpm run test:lib:dev",
55 "test:build": "publint --strict && attw --pack && node scripts/check-cjs-types-smoke.mjs",
56 "measure:bundle": "pnpm run build && node scripts/measure-bundle.mjs",
57 "measure:bundle:raw": "node scripts/measure-bundle.mjs",
58 "perf:l3": "pnpm run build && node scripts/l3-stress.mjs",
59 "perf:l3:raw": "node scripts/l3-stress.mjs"
60 },
61 "dependencies": {
62 "@lit/context": "^1.1.6",
63 "@tanstack/query-core": "workspace:*",
64 "lit": "^3.3.1"
65 },
66 "peerDependencies": {
67 "@tanstack/query-core": "^5.0.0",
68 "lit": ">=2.8.0 <4"
69 },
70 "devDependencies": {
71 "@eslint/js": "^9.36.0",
72 "globals": "^17.4.0",
73 "typescript-eslint": "^8.54.0"
74 }
75}