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

package.json

59 lines1.6 KB

1{
2 "name": "@tanstack/svelte-query",
3 "version": "5.0.2",
4 "description": "Primitives for managing, caching and syncing asynchronous and remote data in Svelte",
5 "author": "Lachlan Collins",
6 "license": "MIT",
7 "repository": {
8 "type": "git",
9 "url": "https://github.com/TanStack/query.git",
10 "directory": "packages/svelte-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": "dist/index.d.ts",
19 "module": "dist/index.js",
20 "svelte": "./dist/index.js",
21 "exports": {
22 ".": {
23 "types": "./dist/index.d.ts",
24 "svelte": "./dist/index.js",
25 "import": "./dist/index.js",
26 "default": "./dist/index.js"
27 },
28 "./package.json": "./package.json"
29 },
30 "files": [
31 "dist",
32 "src",
33 "!dist/__tests__",
34 "!src/__tests__"
35 ],
36 "scripts": {
37 "clean": "rimraf ./dist && rimraf ./coverage",
38 "test:types": "svelte-check --tsconfig ./tsconfig.json",
39 "test:eslint": "eslint --ext .svelte,.ts ./src",
40 "test:lib": "vitest run --coverage",
41 "test:lib:dev": "pnpm run test:lib --watch",
42 "test:build": "publint --strict",
43 "build": "svelte-package --input ./src --output ./dist"
44 },
45 "dependencies": {
46 "@tanstack/query-core": "workspace:*"
47 },
48 "devDependencies": {
49 "@sveltejs/package": "^2.2.2",
50 "@sveltejs/vite-plugin-svelte": "^2.4.6",
51 "@testing-library/svelte": "^4.0.4",
52 "eslint-plugin-svelte": "^2.32.0",
53 "svelte": "^4.0.0",
54 "svelte-check": "^3.4.4"
55 },
56 "peerDependencies": {
57 "svelte": ">=3 <5"
58 }