-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 1.72 KB
/
Copy pathpackage.json
File metadata and controls
68 lines (68 loc) · 1.72 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
{
"name": "@rspack/plugin-preact-refresh",
"version": "1.1.6",
"repository": "https://github.com/rstackjs/rspack-plugin-preact-refresh",
"license": "MIT",
"description": "Preact refresh plugin for Rspack",
"type": "module",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./prefresh": {
"import": "./client/prefresh.js"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "rslib",
"dev": "rslib -w",
"lint": "rslint --type-check",
"format": "prettier --experimental-cli --write . && heading-case --write",
"prepare": "simple-git-hooks",
"test": "rstest",
"testu": "rstest -u",
"bump": "npx bumpp --no-push --no-tag --no-commit"
},
"files": [
"client",
"dist"
],
"simple-git-hooks": {
"pre-commit": "npx nano-staged"
},
"nano-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"rslint --type-check",
"prettier --experimental-cli --write"
]
},
"devDependencies": {
"@prefresh/core": "^1.5.10",
"@prefresh/utils": "^1.2.1",
"@rslib/core": "^0.22.0",
"@rslint/core": "^0.5.3",
"@rspack/core": "^2.0.5",
"@rspack/test-tools": "2.0.5",
"@rstest/core": "^0.10.3",
"@swc/helpers": "0.5.23",
"@swc/plugin-prefresh": "^12.12.0",
"@types/node": "^24.12.4",
"nano-staged": "^1.0.2",
"preact": "^10.29.2",
"prettier": "^3.8.3",
"simple-git-hooks": "^2.13.1",
"typescript": "^6.0.3"
},
"peerDependencies": {
"@prefresh/core": "^1.5.0",
"@prefresh/utils": "^1.2.0"
},
"packageManager": "pnpm@11.5.0",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}