-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
82 lines (82 loc) · 2.12 KB
/
package.json
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
{
"name": "@rspack/plugin-react-refresh",
"version": "1.4.1",
"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": "tsc -b ./tsconfig.build.json",
"dev": "tsc -b -w",
"lint": "biome check .",
"lint:write": "biome check . --write",
"prepare": "simple-git-hooks && npm run build",
"test": "jest --colors",
"release": "node ./scripts/release.mjs"
},
"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",
"@continuous-auth/client": "2.3.2",
"@rslib/core": "^0.6.7",
"@rspack/core": "1.3.1",
"@types/jest": "29.5.14",
"@types/node": "^22.13.17",
"cross-env": "^7.0.3",
"execa": "9.5.2",
"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.1",
"simple-git-hooks": "^2.12.1",
"ts-jest": "29.3.1",
"ts-node": "^10.9.2",
"typescript": "5.8.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": "[email protected]",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/",
"provenance": true
}
}