-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.55 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 1.55 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
{
"name": "@rspack/plugin-react-refresh",
"version": "2.0.0",
"repository": "https://github.com/rstackjs/rspack-plugin-react-refresh",
"license": "MIT",
"description": "React refresh plugin for Rspack",
"type": "module",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./react-refresh": "./client/reactRefresh.js",
"./react-refresh-entry": "./client/reactRefreshEntry.js",
"./package.json": "./package.json"
},
"scripts": {
"build": "rslib",
"dev": "rslib -w",
"lint": "rslint && prettier -c .",
"lint:write": "rslint --fix && prettier -w .",
"prepare": "simple-git-hooks && npm run build",
"test": "rstest",
"release": "node ./scripts/release.js",
"bump": "npx bumpp --no-push --no-tag --no-commit"
},
"files": [
"client",
"dist"
],
"simple-git-hooks": {
"pre-commit": "pnpm run lint:write"
},
"devDependencies": {
"@rslib/core": "^0.20.3",
"@rslint/core": "^0.3.4",
"@rspack/core": "2.0.0-rc.0",
"@rstest/core": "^0.9.6",
"@types/node": "^24.12.2",
"prettier": "^3.8.1",
"react-refresh": "^0.18.0",
"simple-git-hooks": "^2.13.1",
"typescript": "^6.0.2"
},
"peerDependencies": {
"@rspack/core": "^2.0.0-0",
"react-refresh": ">=0.10.0 <1.0.0"
},
"peerDependenciesMeta": {
"@rspack/core": {
"optional": true
}
},
"packageManager": "pnpm@10.33.0",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}