@trpc/next
Version:
160 lines (159 loc) • 3.9 kB
JSON
{
"type": "module",
"name": "@trpc/next",
"version": "11.17.0",
"description": "The tRPC Next.js library",
"author": "KATT",
"license": "MIT",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.cts",
"homepage": "https://trpc.io",
"repository": {
"type": "git",
"url": "git+https://github.com/trpc/trpc.git",
"directory": "packages/next"
},
"eslintConfig": {
"rules": {
"react-hooks/exhaustive-deps": "error",
"no-restricted-imports": [
"error",
"@trpc/next"
]
}
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"lint": "eslint --cache src",
"typecheck": "tsc --noEmit --preserveWatchOutput --pretty"
},
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./app-dir/client": {
"import": {
"types": "./dist/app-dir/client.d.mts",
"default": "./dist/app-dir/client.mjs"
},
"require": {
"types": "./dist/app-dir/client.d.cts",
"default": "./dist/app-dir/client.cjs"
}
},
"./app-dir/links/nextCache": {
"import": {
"types": "./dist/app-dir/links/nextCache.d.mts",
"default": "./dist/app-dir/links/nextCache.mjs"
},
"require": {
"types": "./dist/app-dir/links/nextCache.d.cts",
"default": "./dist/app-dir/links/nextCache.cjs"
}
},
"./app-dir/links/nextHttp": {
"import": {
"types": "./dist/app-dir/links/nextHttp.d.mts",
"default": "./dist/app-dir/links/nextHttp.mjs"
},
"require": {
"types": "./dist/app-dir/links/nextHttp.d.cts",
"default": "./dist/app-dir/links/nextHttp.cjs"
}
},
"./app-dir/server": {
"import": {
"types": "./dist/app-dir/server.d.mts",
"default": "./dist/app-dir/server.mjs"
},
"require": {
"types": "./dist/app-dir/server.d.cts",
"default": "./dist/app-dir/server.cjs"
}
},
"./ssrPrepass": {
"import": {
"types": "./dist/ssrPrepass.d.mts",
"default": "./dist/ssrPrepass.mjs"
},
"require": {
"types": "./dist/ssrPrepass.d.cts",
"default": "./dist/ssrPrepass.cjs"
}
}
},
"files": [
"dist",
"src",
"README.md",
"package.json",
"app-dir",
"ssrPrepass",
"!**/*.test.*",
"!**/__tests__",
"skills",
"!skills/_artifacts",
"bin"
],
"peerDependencies": {
"@tanstack/react-query": "^5.59.15",
"@trpc/client": "11.17.0",
"@trpc/react-query": "11.17.0",
"@trpc/server": "11.17.0",
"next": "*",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"typescript": ">=5.7.2"
},
"peerDependenciesMeta": {
"@tanstack/react-query": {
"optional": true
},
"@trpc/react-query": {
"optional": true
}
},
"devDependencies": {
"@tanstack/intent": "^0.0.27",
"@tanstack/react-query": "^5.80.3",
"@trpc/client": "11.17.0",
"@trpc/react-query": "11.17.0",
"@trpc/server": "11.17.0",
"@types/express": "^5.0.0",
"@types/node": "^22.13.5",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.1",
"devalue": "^5.0.0",
"eslint": "^9.26.0",
"express": "^5.0.0",
"next": "^15.3.8",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"tsdown": "0.12.7",
"typescript": "^5.9.2",
"zod": "^4.2.1"
},
"publishConfig": {
"access": "public"
},
"funding": [
"https://trpc.io/sponsor"
],
"keywords": [
"tanstack-intent"
],
"bin": {
"intent": "./bin/intent.js"
},
"gitHead": "23c723cfeaf07da28a52a5c35c3dcccf96a47578"
}