{ "name": "@rspack/plugin-react-refresh", "version": "1.6.0", "repository": "https://github.com/rstackjs/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.18.2", "@rspack/core": "^1.6.5", "@rstest/core": "^0.6.8", "@types/node": "^24.10.1", "bumpp": "^10.3.2", "cac": "^6.7.14", "cross-env": "^10.1.0", "execa": "9.6.1", "fs-extra": "11.3.2", "nano-staged": "^0.9.0", "react-refresh": "^0.18.0", "semver": "7.7.3", "simple-git-hooks": "^2.13.1", "ts-node": "^10.9.2", "typescript": "5.9.3" }, "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": "rslib build", "dev": "rslib build -w", "lint": "biome check .", "lint:write": "biome check . --write", "test": "rstest", "release": "node ./scripts/release.mjs", "bump": "npx bumpp --no-push --no-tag --no-commit" } }