@trpc/next
Version:
148 lines (147 loc) • 3.88 kB
JSON
{
"type": "module",
"name": "@trpc/next",
"version": "11.22.2-canary.37.6d6969c7c",
"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"
},
"scripts": {
"build": "tsdown",
"prepack": "node ../../www/build/skills.ts --package .",
"dev": "tsdown --watch",
"lint": "oxlint 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"
],
"peerDependencies": {
"@tanstack/react-query": "^5.59.15",
"@trpc/client": "11.22.2-canary.37.6d6969c7c",
"@trpc/react-query": "11.22.2-canary.37.6d6969c7c",
"@trpc/server": "11.22.2-canary.37.6d6969c7c",
"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.5.6",
"@tanstack/react-query": "^5.105.0",
"@trpc/client": "11.22.2-canary.37.6d6969c7c",
"@trpc/react-query": "11.22.2-canary.37.6d6969c7c",
"@trpc/server": "11.22.2-canary.37.6d6969c7c",
"@types/express": "^5.0.0",
"@types/node": "^24.13.4",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.1",
"devalue": "^6.0.0",
"express": "^5.0.0",
"next": "^15.5.25",
"oxlint": "^1.90.0",
"oxlint-tsgolint": "^7.0.2005",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"tsdown": "0.23.0",
"typescript": "^7.0.2",
"zod": "^4.2.1"
},
"publishConfig": {
"access": "public"
},
"funding": [
"https://trpc.io/sponsor"
],
"keywords": [
"tanstack-intent"
],
"gitHead": "6d6969c7cd8eb140c8dcc42e33750b4e88eaaa0d"
}