{
  "name": "rsbuild-plugin-react-router",
  "version": "0.4.1",
  "description": "React Router plugin for Rsbuild",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/rstackjs/rsbuild-plugin-react-router.git",
    "directory": ""
  },
  "keywords": [
    "rsbuild",
    "rsbuild-plugin",
    "react-router",
    "react",
    "router",
    "ssr",
    "rspack",
    "plugin",
    "remix",
    "module-federation"
  ],
  "license": "MIT",
  "type": "module",
  "registry": "https://registry.npmjs.org/",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    },
    "./templates/entry.client": {
      "types": "./dist/templates/entry.client.d.ts",
      "import": "./dist/templates/entry.client.js",
      "require": "./dist/templates/entry.client.cjs"
    },
    "./templates/entry.server": {
      "types": "./dist/templates/entry.server.d.ts",
      "import": "./dist/templates/entry.server.js",
      "require": "./dist/templates/entry.server.cjs"
    }
  },
  "main": "./dist/index.cjs",
  "types": "./dist/index.d.ts",
  "files": [
    "dist",
    "src"
  ],
  "publint": {
    "ignoreMissingDts": true
  },
  "dependencies": {
    "@react-router/node": "^7.13.0",
    "@remix-run/node-fetch-server": "^0.13.0",
    "@rspack/plugin-react-refresh": "^2.0.2",
    "execa": "^9.6.1",
    "fs-extra": "11.3.3",
    "isbot": "5.1.34",
    "jiti": "^2.6.1",
    "jsesc": "^3.1.0",
    "pathe": "^2.0.3",
    "react-refresh": "^0.18.0",
    "yuku-analyzer": "0.5.39",
    "yuku-codegen": "0.5.39",
    "yuku-parser": "0.5.39"
  },
  "devDependencies": {
    "@changesets/cli": "^2.29.8",
    "@react-router/dev": "^8.0.1",
    "@rsbuild/core": "2.1.0",
    "@rsbuild/plugin-react": "2.1.0",
    "@rslib/core": "^0.22.1",
    "@rspack/core": "2.1.0",
    "@rstest/core": "^0.8.1",
    "@rstest/coverage-istanbul": "^0.2.0",
    "@swc/helpers": "^0.5.23",
    "@types/fs-extra": "11.0.4",
    "@types/jsesc": "^3.0.3",
    "@types/node": "^25.0.10",
    "@types/react": "^19.2.10",
    "@types/react-dom": "^19.2.3",
    "effect": "^3.21.4",
    "es-module-lexer": "1.7.0",
    "kill-port": "^2.0.1",
    "pkg-pr-new": "^0.0.75",
    "playwright": "^1.61.1",
    "prettier": "3.8.1",
    "react": "^19.2.4",
    "react-dom": "^19.2.4",
    "react-router": "^7.13.0",
    "react-router-dom": "^7.13.0",
    "typescript": "^5.9.3",
    "@rsbuild/config": "1.0.1"
  },
  "peerDependencies": {
    "@react-router/dev": "^7.13.0 || ^8.0.0",
    "@rsbuild/core": "^2.0.0"
  },
  "peerDependenciesMeta": {
    "@react-router/dev": {
      "optional": true
    }
  },
  "publishConfig": {
    "access": "public",
    "provenance": false,
    "registry": "https://registry.npmjs.org/"
  },
  "scripts": {
    "build": "rslib build",
    "bench": "node scripts/bench-builds.mts",
    "bench:ci-report": "node scripts/report-benchmark-ci.mts",
    "bench:compare": "node scripts/compare-benchmarks.mts",
    "bench:smoke": "node scripts/bench-builds.mts --profile smoke --iterations 1 --warmup 0 --format both --out .benchmark/results/smoke",
    "bench:baseline": "node scripts/bench-builds.mts --profile default --iterations 5 --warmup 1 --clean build --format both --out .benchmark/results/baseline",
    "bench:full": "node scripts/bench-builds.mts --profile full --iterations 5 --warmup 1 --clean build --format both --out .benchmark/results/full",
    "bench:large": "node scripts/bench-builds.mts --profile large --iterations 1 --warmup 0 --clean cold --format both --out .benchmark/results/large",
    "bench:synthetic-app": "node scripts/bench-synthetic-app.mjs",
    "e2e": "pnpm build && pnpm test:package-interop && pnpm --filter './examples/{default-template,spa-mode,prerender,custom-node-server,cloudflare,client-only}' test:e2e",
    "dev": "rslib build --watch",
    "test": "rstest run",
    "test:watch": "rstest watch",
    "test:coverage": "rstest run --coverage",
    "test:core": "rstest run -c ./rstest.config.ts",
    "test:core:watch": "rstest watch -c ./rstest.config.ts",
    "test:package-interop": "node scripts/test-package-interop.mts",
    "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
    "format:check": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\"",
    "changeset": "changeset",
    "version": "changeset version",
    "release": "changeset publish",
    "release:local": "pnpm build && changeset version && changeset publish && git add . && git commit -m \"chore: version packages\" && git push && git push --tags"
  }
}