UNPKG

@trpc/react-query

Version:

The tRPC React library

109 lines (108 loc) 2.84 kB
{ "name": "@trpc/react-query", "version": "11.3.1", "description": "The tRPC React library", "author": "KATT", "license": "MIT", "main": "dist/index.js", "module": "dist/index.mjs", "typings": "dist/index.d.ts", "homepage": "https://trpc.io", "repository": { "type": "git", "url": "git+https://github.com/trpc/trpc.git", "directory": "packages/react" }, "scripts": { "codegen:bigBoi": "tsx ../../scripts/generateBigBoi.ts", "codegen-tests": "run-p codegen:*", "build": "rollup --config rollup.config.ts --configPlugin rollup-plugin-swc3", "dev": "pnpm build --watch", "codegen-entrypoints": "tsx entrypoints.script.ts", "lint": "eslint --cache src", "ts-watch": "tsc --watch" }, "exports": { "./package.json": "./package.json", ".": { "import": "./dist/index.mjs", "require": "./dist/index.js", "default": "./dist/index.js" }, "./rsc": { "import": "./dist/rsc.mjs", "require": "./dist/rsc.js", "default": "./dist/rsc.js" }, "./server": { "import": "./dist/server/index.mjs", "require": "./dist/server/index.js", "default": "./dist/server/index.js" }, "./shared": { "import": "./dist/shared/index.mjs", "require": "./dist/shared/index.js", "default": "./dist/shared/index.js" } }, "files": [ "dist", "src", "README.md", "package.json", "rsc", "server", "shared", "!**/*.test.*", "!**/__tests__" ], "eslintConfig": { "rules": { "react-hooks/exhaustive-deps": "error", "no-restricted-imports": [ "error", "@trpc/react-query" ] } }, "peerDependencies": { "@tanstack/react-query": "^5.80.3", "@trpc/client": "11.3.1", "@trpc/server": "11.3.1", "react": ">=18.2.0", "react-dom": ">=18.2.0", "typescript": ">=5.7.2" }, "devDependencies": { "@tanstack/query-sync-storage-persister": "^5.80.2", "@tanstack/react-query": "^5.80.3", "@tanstack/react-query-persist-client": "^5.80.3", "@testing-library/dom": "^10.0.0", "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^16.1.0", "@testing-library/user-event": "^14.4.3", "@trpc/client": "11.3.1", "@trpc/server": "11.3.1", "@types/express": "^5.0.0", "@types/node": "^22.13.5", "@types/react": "^19.1.0", "eslint": "^9.26.0", "express": "^5.0.0", "next": "^15.3.1", "react": "^19.1.0", "react-dom": "^19.1.0", "rollup": "^4.34.8", "tslib": "^2.8.1", "tsx": "^4.19.3", "typescript": "^5.8.2", "zod": "^3.25.51", "zod-form-data": "^2.0.1" }, "publishConfig": { "access": "public" }, "funding": [ "https://trpc.io/sponsor" ], "gitHead": "c97573dd72086529c3f26dcc5e96d8152337b7f7" }