-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
77 lines (77 loc) · 2.07 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
{
"name": "@rspack/plugin-preact-refresh",
"version": "1.1.2",
"repository": "https://github.com/rspack-contrib/rspack-plugin-preact-refresh",
"license": "MIT",
"description": "Preact refresh plugin for Rspack",
"type": "module",
"main": "index.cjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./index.cjs"
},
"./intercept": "./client/reactRefresh.js",
"./prefresh": "./client/prefresh.js",
"./package.json": "./package.json"
},
"scripts": {
"build": "rslib build",
"dev": "rslib build --watch",
"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",
"index.cjs"
],
"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",
"@rslib/core": "^0.0.16",
"@rspack/core": "1.0.14",
"@rspack/test-tools": "1.0.14",
"@swc/helpers": "0.5.13",
"@swc/plugin-prefresh": "^5.0.0",
"@types/jest": "29.5.14",
"@types/node": "^22.8.6",
"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
}
}