rsbuild-plugin-react-router
Version:
React Router plugin for Rsbuild
122 lines • 3.66 kB
JSON
{
"name": "rsbuild-plugin-react-router",
"version": "0.0.4",
"description": "React Router plugin for Rsbuild",
"repository": {
"type": "git",
"url": "git+https://github.com/rspack-contrib/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"
],
"publint": {
"ignoreMissingDts": true
},
"dependencies": {
"@babel/core": "^7.26.3",
"@babel/generator": "^7.26.3",
"@babel/parser": "^7.26.3",
"@babel/traverse": "^7.26.3",
"@babel/types": "^7.26.3",
"@mjackson/node-fetch-server": "^0.3.0",
"@react-router/node": "^7.4.1",
"@rspack/plugin-react-refresh": "^1.0.1",
"babel-dead-code-elimination": "^1.0.8",
"esbuild": "^0.24.2",
"execa": "^9.5.2",
"fs-extra": "11.3.0",
"isbot": "5.1.18",
"jiti": "^2.4.2",
"jsesc": "^3.1.0",
"pathe": "^1.1.2",
"react-refresh": "^0.16.0",
"rspack-plugin-virtual-module": "^0.1.13"
},
"devDependencies": {
"@changesets/cli": "^2.28.1",
"@react-router/dev": "^7.4.1",
"@react-router/node": "^7.4.1",
"@rsbuild/core": "1.3.2",
"@rslib/core": "^0.5.4",
"@rspack/core": "1.3.1",
"@types/babel__core": "^7.6.8",
"@types/babel__generator": "^7.6.8",
"@types/babel__traverse": "^7.20.6",
"@types/fs-extra": "11.0.4",
"@types/jsesc": "^3.0.3",
"@types/node": "^22.10.1",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"jiti": "^2.4.1",
"kill-port": "^2.0.1",
"killport": "^1.0.2",
"playwright": "^1.50.1",
"prettier": "3.4.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-router": "^7.4.1",
"react-router-dom": "^7.4.1",
"typescript": "^5.7.2",
"vitest": "^3.0.5",
"@rsbuild/config": "1.0.1"
},
"peerDependencies": {
"@rsbuild/core": "^1.3.2"
},
"publishConfig": {
"access": "public",
"provenance": false,
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"build": "rslib build",
"e2e": "pnpm build && cd examples/default-template && pnpm test:e2e && npx kill-port 3000 && cd ../custom-node-server && pnpm test:e2e",
"dev": "rslib build --watch",
"test": "vitest run",
"test:watch": "vitest watch",
"test:coverage": "vitest run --coverage",
"test:core": "vitest run -c ./vitest.config.ts",
"test:core:watch": "vitest watch -c ./vitest.config.ts",
"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"
}
}