-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.02 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 2.02 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
69
70
71
72
73
74
75
76
77
{
"name": "@rspack/plugin-preact-refresh",
"version": "1.1.5",
"repository": "https://github.com/rstackjs/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",
"dev": "rslib -w",
"lint": "rslint --type-check",
"format": "prettier --experimental-cli --write . && heading-case --write",
"prepare": "simple-git-hooks && npm run build",
"test": "rstest",
"testu": "rstest -u",
"release": "node ./scripts/release.mjs",
"bump": "npx bumpp --no-push --no-tag --no-commit"
},
"files": [
"client",
"dist",
"index.cjs"
],
"simple-git-hooks": {
"pre-commit": "npx nano-staged"
},
"nano-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"rslint --type-check",
"prettier --experimental-cli --write"
]
},
"devDependencies": {
"@rslint/core": "^0.5.0",
"@prefresh/core": "^1.5.9",
"@prefresh/utils": "^1.2.1",
"@rslib/core": "^0.21.3",
"@rspack/core": "^2.0.0",
"@rspack/test-tools": "2.0.0",
"wast-loader": "^1.14.1",
"@rstest/core": "^0.9.9",
"@swc/helpers": "0.5.21",
"@swc/plugin-prefresh": "^12.9.0",
"@types/node": "^24.12.2",
"cac": "^7.0.0",
"prettier": "^3.8.3",
"cross-env": "^10.1.0",
"execa": "9.6.1",
"fs-extra": "11.3.4",
"nano-staged": "^1.0.2",
"preact": "^10.29.1",
"semver": "7.7.4",
"simple-git-hooks": "^2.13.1",
"typescript": "^6.0.3"
},
"peerDependencies": {
"@prefresh/core": "^1.5.0",
"@prefresh/utils": "^1.2.0"
},
"packageManager": "pnpm@10.33.2",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}