-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
136 lines (136 loc) · 4.53 KB
/
Copy pathpackage.json
File metadata and controls
136 lines (136 loc) · 4.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "rsbuild-plugin-react-router",
"version": "0.2.0",
"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"
],
"publint": {
"ignoreMissingDts": true
},
"scripts": {
"build": "rslib build",
"bench": "node scripts/bench-builds.mjs",
"bench:ci-report": "node scripts/report-benchmark-ci.mjs",
"bench:compare": "node scripts/compare-benchmarks.mjs",
"bench:smoke": "node scripts/bench-builds.mjs --profile smoke --iterations 1 --warmup 0 --format both --out .benchmark/results/smoke",
"bench:baseline": "node scripts/bench-builds.mjs --profile default --iterations 5 --warmup 1 --clean build --format both --out .benchmark/results/baseline",
"bench:full": "node scripts/bench-builds.mjs --profile full --iterations 5 --warmup 1 --clean build --format both --out .benchmark/results/full",
"e2e": "pnpm build && 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",
"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"
},
"dependencies": {
"@babel/core": "^7.28.6",
"@babel/generator": "^7.28.6",
"@babel/parser": "^7.28.6",
"@babel/traverse": "^7.28.6",
"@babel/types": "^7.28.6",
"@react-router/node": "^7.13.0",
"@remix-run/node-fetch-server": "^0.13.0",
"@rspack/plugin-react-refresh": "^2.0.2",
"babel-dead-code-elimination": "^1.0.12",
"esbuild": "^0.27.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",
"rspack-plugin-virtual-module": "^1.0.1"
},
"devDependencies": {
"@changesets/cli": "^2.29.8",
"@react-router/dev": "^7.13.0",
"@rsbuild/config": "workspace:*",
"@rsbuild/core": "2.0.15",
"@rsbuild/plugin-react": "2.0.1",
"@rslib/core": "^0.22.1",
"@rspack/core": "2.0.8",
"@swc/helpers": "^0.5.23",
"@rstest/core": "^0.8.1",
"@rstest/coverage-istanbul": "^0.2.0",
"@types/babel__core": "^7.20.5",
"@types/babel__generator": "^7.27.0",
"@types/babel__traverse": "^7.28.0",
"@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",
"es-module-lexer": "1.7.0",
"kill-port": "^2.0.1",
"pkg-pr-new": "^0.0.75",
"playwright": "^1.58.0",
"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"
},
"peerDependencies": {
"@rsbuild/core": "^2.0.0"
},
"publishConfig": {
"access": "public",
"provenance": false,
"registry": "https://registry.npmjs.org/"
},
"packageManager": "pnpm@9.15.3+sha512.1f79bc245a66eb0b07c5d4d83131240774642caaa86ef7d0434ab47c0d16f66b04e21e0c086eb61e62c77efc4d7f7ec071afad3796af64892fae66509173893a",
"pnpm": {
"overrides": {
"@types/express": "^5.0.0"
}
}
}