-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
109 lines (109 loc) · 3.25 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "@rspack/dev-server",
"version": "1.0.9",
"license": "MIT",
"description": "Development server for rspack",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/",
"provenance": true
},
"exports": {
".": {
"default": "./dist/index.js"
},
"./client/*": "./client/*.js",
"./client/*.js": "./client/*.js",
"./package.json": "./package.json"
},
"scripts": {
"build": "pnpm run build:server && pnpm run build:client",
"build:server": "tsc -b ./tsconfig.build.json",
"build:client": "tsc -b ./tsconfig.client.json",
"dev": "tsc -b -w",
"lint": "biome check .",
"lint:write": "biome check . --write",
"format": "node ./node_modules/prettier/bin/prettier.cjs \"packages/**/src/**/*.{ts,tsx,js}\" \"crates/rspack_plugin_runtime/**/*.{ts,js}\" \"x.mjs\" --check",
"test:install": "cross-env ./node_modules/.bin/puppeteer browsers install chrome",
"test": "pnpm run test:install && pnpm run build && cross-env NO_COLOR=1 node --expose-gc --max-old-space-size=8192 --experimental-vm-modules ./node_modules/jest-cli/bin/jest --colors",
"release": "node ./scripts/release.mjs"
},
"simple-git-hooks": {
"pre-commit": "npx nano-staged"
},
"nano-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"biome check --write --no-errors-on-unmatched"
]
},
"files": [
"dist",
"client"
],
"engines": {
"node": ">= 18.12.0"
},
"packageManager": "pnpm@9.6.0",
"homepage": "https://rspack.dev",
"bugs": "https://github.com/web-infra-dev/rspack-dev-server/issues",
"repository": {
"type": "git",
"url": "https://github.com/web-infra-dev/rspack-dev-server"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@jest/test-sequencer": "^29.7.0",
"@rspack/core": "1.0.11",
"@rspack/plugin-react-refresh": "1.0.0",
"@types/connect-history-api-fallback": "1.5.4",
"@types/express": "4.17.21",
"@types/mime-types": "2.1.4",
"@types/ws": "8.5.10",
"css-loader": "^6.11.0",
"graceful-fs": "4.2.10",
"http-proxy": "^1.18.1",
"jest-serializer-path": "^0.1.15",
"prettier": "3.2.5",
"puppeteer": "^23.2.2",
"require-from-string": "^2.0.2",
"sockjs-client": "^1.6.1",
"style-loader": "^3.3.3",
"supertest": "^6.1.3",
"tcp-port-used": "^1.0.2",
"typescript": "5.0.2",
"wait-for-expect": "^3.0.2",
"@jest/reporters": "29.7.0",
"@types/jest": "29.5.12",
"cross-env": "^7.0.3",
"husky": "^9.0.0",
"jest": "29.7.0",
"jest-cli": "29.7.0",
"jest-environment-node": "29.7.0",
"rimraf": "3.0.2",
"ts-jest": "29.1.2",
"webpack": "^5.94.0",
"webpack-cli": "5.1.4",
"react-refresh": "0.14.0",
"execa": "9.3.0",
"fs-extra": "11.2.0",
"nano-staged": "^0.8.0",
"semver": "7.6.3",
"simple-git-hooks": "^2.11.1"
},
"dependencies": {
"chokidar": "^3.6.0",
"connect-history-api-fallback": "^2.0.0",
"express": "^4.19.2",
"http-proxy-middleware": "^2.0.6",
"mime-types": "^2.1.35",
"p-retry": "4.6.2",
"webpack-dev-middleware": "^7.4.2",
"webpack-dev-server": "5.0.4",
"ws": "^8.16.0"
},
"peerDependencies": {
"@rspack/core": "*"
}
}