{
  "type": "module",
  "name": "@trpc/next",
  "version": "11.5.1",
  "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__"
  ],
  "peerDependencies": {
    "@tanstack/react-query": "^5.59.15",
    "@trpc/client": "11.5.1",
    "@trpc/react-query": "11.5.1",
    "@trpc/server": "11.5.1",
    "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/react-query": "^5.80.3",
    "@trpc/client": "11.5.1",
    "@trpc/react-query": "11.5.1",
    "@trpc/server": "11.5.1",
    "@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.1",
    "react": "^19.1.0",
    "react-dom": "^19.1.0",
    "tsdown": "0.12.7",
    "typescript": "^5.9.2",
    "zod": "^3.25.51"
  },
  "publishConfig": {
    "access": "public"
  },
  "funding": [
    "https://trpc.io/sponsor"
  ],
  "gitHead": "5f897bddbde2154ae09a812bf84f213b22d8482b"
}
