-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.51 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
{
"name": "react-cosmos-plugin-rspack",
"version": "1.0.0",
"description": "rspack plugin for React Cosmos",
"repository": "https://github.com/birchill/react-cosmos-plugin-rspack/",
"author": "Birchill, Inc.",
"license": "MIT",
"main": "./cosmos.plugin.json",
"files": [
"dist/**",
"cosmos.plugin.json"
],
"type": "module",
"dependencies": {
"react-cosmos-dom": ">=6.2.0",
"webpack-dev-middleware": "7.4.2",
"webpack-hot-middleware": "2.26.1"
},
"devDependencies": {
"@release-it/conventional-changelog": "8.0.1",
"@rspack/core": "1.0.0",
"@types/node": "20.14.9",
"@types/webpack-hot-middleware": "2.25.9",
"esbuild": "0.23.1",
"husky": "9.1.5",
"knip": "5.27.4",
"lint-staged": "15.2.9",
"prettier": "3.3.3",
"react-cosmos": "6.2.0",
"react-cosmos-core": "6.2.0",
"react-error-overlay": "6.0.9",
"react-plugin": "3.0.0-alpha.4",
"release-it": "17.6.0",
"tsup": "8.2.4",
"typescript": "5.5.4"
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"scripts": {
"prepublishOnly": "pnpm build",
"build": "tsup && tsup --config tsup.ui.config.ts && cp src/server/rspackConfig/userImportsLoader.cjs dist/server",
"release": "release-it",
"prepare": "husky"
},
"peerDependencies": {
"@rspack/core": ">=1.0.0",
"react-cosmos": ">=6.0.0"
},
"lint-staged": {
"*.{ts,json,md}": [
"prettier --write"
]
}
}