{
  "name": "@rspack/plugin-react-refresh",
  "version": "1.5.1",
  "repository": "https://github.com/rspack-contrib/rspack-plugin-react-refresh",
  "license": "MIT",
  "description": "React refresh plugin for Rspack",
  "main": "exports/index.cjs",
  "type": "commonjs",
  "types": "exports/index.d.cts",
  "exports": {
    ".": {
      "require": "./exports/index.cjs",
      "default": "./exports/index.mjs"
    },
    "./react-refresh": "./client/reactRefresh.js",
    "./react-refresh-entry": "./client/reactRefreshEntry.js",
    "./overlay": "./client/overlay/index.js",
    "./package.json": "./package.json"
  },
  "files": [
    "client",
    "dist",
    "exports"
  ],
  "simple-git-hooks": {
    "pre-commit": "npx nano-staged"
  },
  "nano-staged": {
    "*.{js,jsx,ts,tsx,mjs,cjs}": [
      "biome check --write --no-errors-on-unmatched"
    ]
  },
  "devDependencies": {
    "@biomejs/biome": "^1.9.4",
    "@rslib/core": "^0.11.0",
    "@rspack/core": "1.4.11",
    "@types/jest": "29.5.14",
    "@types/node": "^22.17.0",
    "bumpp": "^10.2.3",
    "cac": "^6.7.14",
    "cross-env": "^10.0.0",
    "execa": "9.6.0",
    "fs-extra": "11.3.0",
    "jest": "29.7.0",
    "jest-cli": "29.7.0",
    "jest-environment-node": "29.7.0",
    "nano-staged": "^0.8.0",
    "react-refresh": "^0.17.0",
    "semver": "7.7.2",
    "simple-git-hooks": "^2.13.1",
    "ts-jest": "29.4.0",
    "ts-node": "^10.9.2",
    "typescript": "5.9.2"
  },
  "dependencies": {
    "error-stack-parser": "^2.1.4",
    "html-entities": "^2.6.0"
  },
  "peerDependencies": {
    "react-refresh": ">=0.10.0 <1.0.0",
    "webpack-hot-middleware": "2.x"
  },
  "peerDependenciesMeta": {
    "webpack-hot-middleware": {
      "optional": true
    }
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  },
  "scripts": {
    "build": "tsc -b ./tsconfig.build.json",
    "dev": "tsc -b -w",
    "lint": "biome check .",
    "lint:write": "biome check . --write",
    "test": "jest --colors",
    "release": "node ./scripts/release.mjs",
    "bump": "npx bumpp --no-push --no-tag --no-commit"
  }
}