1 | {
|
2 | "name": "webpack-dev-server",
|
3 | "version": "5.0.4",
|
4 | "description": "Serves a webpack app. Updates the browser on changes.",
|
5 | "bin": "bin/webpack-dev-server.js",
|
6 | "main": "lib/Server.js",
|
7 | "types": "types/lib/Server.d.ts",
|
8 | "author": "Tobias Koppers @sokra",
|
9 | "bugs": "https://github.com/webpack/webpack-dev-server/issues",
|
10 | "homepage": "https://github.com/webpack/webpack-dev-server#readme",
|
11 | "repository": "https://github.com/webpack/webpack-dev-server",
|
12 | "license": "MIT",
|
13 | "funding": {
|
14 | "type": "opencollective",
|
15 | "url": "https://opencollective.com/webpack"
|
16 | },
|
17 | "files": [
|
18 | "bin",
|
19 | "lib",
|
20 | "client",
|
21 | "types"
|
22 | ],
|
23 | "engines": {
|
24 | "node": ">= 18.12.0"
|
25 | },
|
26 | "scripts": {
|
27 | "fmt:check": "prettier \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different",
|
28 | "lint:prettier": "prettier --cache --list-different .",
|
29 | "lint:js": "eslint --cache .",
|
30 | "lint:types": "tsc --pretty --noEmit",
|
31 | "lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
|
32 | "lint": "npm-run-all -l -p \"lint:**\"",
|
33 | "fix:js": "npm run lint:js -- --fix",
|
34 | "fix:prettier": "npm run lint:prettier -- --write",
|
35 | "fix": "npm-run-all -l fix:js fix:prettier",
|
36 | "commitlint": "commitlint --from=master",
|
37 | "build:client": "rimraf -g ./client/* && babel client-src/ --out-dir client/ --ignore \"client-src/webpack.config.js\" --ignore \"client-src/modules\" && webpack --config client-src/webpack.config.js",
|
38 | "build:types": "rimraf -g ./types/* && tsc --declaration --emitDeclarationOnly --outDir types && node ./scripts/extend-webpack-types.js && prettier \"types/**/*.ts\" --write && prettier \"types/**/*.ts\" --write",
|
39 | "build": "npm-run-all -p \"build:**\"",
|
40 | "test:only": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
|
41 | "test:coverage": "npm run test:only -- --coverage",
|
42 | "test:watch": "npm run test:coverage --watch",
|
43 | "test": "npm run test:coverage",
|
44 | "pretest": "npm run lint",
|
45 | "prepare": "husky && npm run build",
|
46 | "release": "standard-version"
|
47 | },
|
48 | "dependencies": {
|
49 | "@types/bonjour": "^3.5.13",
|
50 | "@types/connect-history-api-fallback": "^1.5.4",
|
51 | "@types/express": "^4.17.21",
|
52 | "@types/serve-index": "^1.9.4",
|
53 | "@types/serve-static": "^1.15.5",
|
54 | "@types/sockjs": "^0.3.36",
|
55 | "@types/ws": "^8.5.10",
|
56 | "ansi-html-community": "^0.0.8",
|
57 | "bonjour-service": "^1.2.1",
|
58 | "chokidar": "^3.6.0",
|
59 | "colorette": "^2.0.10",
|
60 | "compression": "^1.7.4",
|
61 | "connect-history-api-fallback": "^2.0.0",
|
62 | "default-gateway": "^6.0.3",
|
63 | "express": "^4.17.3",
|
64 | "graceful-fs": "^4.2.6",
|
65 | "html-entities": "^2.4.0",
|
66 | "http-proxy-middleware": "^2.0.3",
|
67 | "ipaddr.js": "^2.1.0",
|
68 | "launch-editor": "^2.6.1",
|
69 | "open": "^10.0.3",
|
70 | "p-retry": "^6.2.0",
|
71 | "rimraf": "^5.0.5",
|
72 | "schema-utils": "^4.2.0",
|
73 | "selfsigned": "^2.4.1",
|
74 | "serve-index": "^1.9.1",
|
75 | "sockjs": "^0.3.24",
|
76 | "spdy": "^4.0.2",
|
77 | "webpack-dev-middleware": "^7.1.0",
|
78 | "ws": "^8.16.0"
|
79 | },
|
80 | "devDependencies": {
|
81 | "@babel/cli": "^7.22.5",
|
82 | "@babel/core": "^7.22.5",
|
83 | "@babel/eslint-parser": "^7.22.5",
|
84 | "@babel/plugin-transform-object-assign": "^7.22.5",
|
85 | "@babel/plugin-transform-runtime": "^7.22.5",
|
86 | "@babel/preset-env": "^7.22.5",
|
87 | "@babel/runtime": "^7.22.5",
|
88 | "@commitlint/cli": "^19.0.3",
|
89 | "@commitlint/config-conventional": "^19.0.3",
|
90 | "@types/compression": "^1.7.2",
|
91 | "@types/default-gateway": "^3.0.1",
|
92 | "@types/node": "^20.11.16",
|
93 | "@types/node-forge": "^1.3.1",
|
94 | "@types/sockjs-client": "^1.5.1",
|
95 | "@types/trusted-types": "^2.0.2",
|
96 | "acorn": "^8.9.0",
|
97 | "babel-jest": "^29.5.0",
|
98 | "babel-loader": "^9.1.0",
|
99 | "body-parser": "^1.19.2",
|
100 | "core-js": "^3.31.0",
|
101 | "cspell": "^8.3.2",
|
102 | "css-loader": "^6.8.1",
|
103 | "eslint": "^8.43.0",
|
104 | "eslint-config-prettier": "^9.1.0",
|
105 | "eslint-config-webpack": "^1.2.5",
|
106 | "eslint-plugin-import": "^2.23.2",
|
107 | "execa": "^5.1.1",
|
108 | "html-webpack-plugin": "^5.5.3",
|
109 | "http-proxy": "^1.18.1",
|
110 | "husky": "^9.0.10",
|
111 | "jest": "^29.5.0",
|
112 | "jest-environment-jsdom": "^29.5.0",
|
113 | "klona": "^2.0.4",
|
114 | "less": "^4.1.1",
|
115 | "less-loader": "^12.1.0",
|
116 | "lint-staged": "^15.2.0",
|
117 | "marked": "^12.0.0",
|
118 | "memfs": "^4.6.0",
|
119 | "npm-run-all": "^4.1.5",
|
120 | "prettier": "^3.2.4",
|
121 | "puppeteer": "^22.1.0",
|
122 | "readable-stream": "^4.5.2",
|
123 | "require-from-string": "^2.0.2",
|
124 | "sockjs-client": "^1.6.1",
|
125 | "standard-version": "^9.3.0",
|
126 | "strip-ansi-v6": "npm:strip-ansi@^6.0.0",
|
127 | "style-loader": "^3.3.1",
|
128 | "supertest": "^6.1.3",
|
129 | "tcp-port-used": "^1.0.2",
|
130 | "typescript": "^5.3.3",
|
131 | "wait-for-expect": "^3.0.2",
|
132 | "webpack": "^5.89.0",
|
133 | "webpack-cli": "^5.0.1",
|
134 | "webpack-merge": "^5.9.0"
|
135 | },
|
136 | "peerDependencies": {
|
137 | "webpack": "^5.0.0"
|
138 | },
|
139 | "peerDependenciesMeta": {
|
140 | "webpack-cli": {
|
141 | "optional": true
|
142 | },
|
143 | "webpack": {
|
144 | "optional": true
|
145 | }
|
146 | }
|
147 | }
|