-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.13 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 2.13 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
{
"name": "@rspack/plugin-react-refresh",
"version": "1.5.2",
"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"
},
"scripts": {
"build": "rslib build",
"dev": "rslib build -w",
"lint": "biome check .",
"lint:write": "biome check . --write",
"prepare": "simple-git-hooks && npm run build",
"test": "jest --colors",
"release": "node ./scripts/release.mjs",
"bump": "npx bumpp --no-push --no-tag --no-commit"
},
"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.15.1",
"@rspack/core": "^1.5.8",
"@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
}
},
"packageManager": "pnpm@10.14.0",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}