-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
72 lines (72 loc) · 1.95 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
{
"name": "@rspack/plugin-preact-refresh",
"version": "1.1.0",
"repository": "https://github.com/rspack-contrib/rspack-plugin-preact-refresh",
"license": "MIT",
"description": "Preact refresh plugin for rspack",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"default": "./dist/index.js"
},
"./intercept": "./client/reactRefresh.js",
"./prefresh": "./client/prefresh.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": "cross-env RSPACK_HOT_TEST=true jest --colors",
"testu": "cross-env RSPACK_HOT_TEST=true jest --colors --updateSnapshot",
"release": "node ./scripts/release.mjs"
},
"files": [
"client",
"dist"
],
"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",
"@prefresh/core": "^1.5.2",
"@prefresh/utils": "^1.2.0",
"@rspack/core": "1.0.14",
"@rspack/test-tools": "1.0.14",
"@swc/plugin-prefresh": "^2.0.10",
"@swc/helpers": "0.5.13",
"@types/node": "^22.8.6",
"@types/jest": "29.5.14",
"cross-env": "^7.0.3",
"execa": "9.5.1",
"fs-extra": "11.2.0",
"jest": "29.7.0",
"jest-cli": "29.7.0",
"jest-environment-node": "29.7.0",
"nano-staged": "^0.8.0",
"preact": "^10.24.3",
"semver": "7.6.3",
"simple-git-hooks": "^2.11.1",
"ts-jest": "29.2.5",
"typescript": "5.6.3"
},
"peerDependencies": {
"@prefresh/core": "^1.5.0",
"@prefresh/utils": "^1.2.0"
},
"packageManager": "[email protected]",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/",
"provenance": true
}
}