1 | {
|
2 | "name": "webpack-dev-server",
|
3 | "version": "4.9.3",
|
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": ">= 12.13.0"
|
25 | },
|
26 | "scripts": {
|
27 | "fmt:check": "prettier \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different",
|
28 | "lint:js": "eslint . --cache",
|
29 | "lint:types": "tsc --pretty --noEmit",
|
30 | "lint": "npm-run-all -p \"fmt:**\" \"lint:**\"",
|
31 | "fmt": "npm run fmt:check -- --write",
|
32 | "fix:js": "npm run lint:js -- --fix",
|
33 | "fix": "npm-run-all fix:js fmt",
|
34 | "commitlint": "commitlint --from=master",
|
35 | "build:client": "rimraf ./client/* && babel client-src/ --out-dir client/ --ignore \"client-src/webpack.config.js\" --ignore \"client-src/modules\" && webpack --config client-src/webpack.config.js",
|
36 | "build:types": "rimraf ./types/* && tsc --declaration --emitDeclarationOnly --outDir types && node ./scripts/extend-webpack-types.js && prettier \"types/**/*.ts\" --write && prettier \"types/**/*.ts\" --write",
|
37 | "build": "npm-run-all -p \"build:**\"",
|
38 | "test:only": "jest",
|
39 | "test:coverage": "npm run test:only -- --coverage",
|
40 | "test:watch": "npm run test:coverage --watch",
|
41 | "test": "npm run test:coverage",
|
42 | "pretest": "npm run lint",
|
43 | "prepare": "husky install && npm run build",
|
44 | "release": "standard-version"
|
45 | },
|
46 | "dependencies": {
|
47 | "@types/bonjour": "^3.5.9",
|
48 | "@types/connect-history-api-fallback": "^1.3.5",
|
49 | "@types/express": "^4.17.13",
|
50 | "@types/serve-index": "^1.9.1",
|
51 | "@types/serve-static": "^1.13.10",
|
52 | "@types/sockjs": "^0.3.33",
|
53 | "@types/ws": "^8.5.1",
|
54 | "ansi-html-community": "^0.0.8",
|
55 | "bonjour-service": "^1.0.11",
|
56 | "chokidar": "^3.5.3",
|
57 | "colorette": "^2.0.10",
|
58 | "compression": "^1.7.4",
|
59 | "connect-history-api-fallback": "^2.0.0",
|
60 | "default-gateway": "^6.0.3",
|
61 | "express": "^4.17.3",
|
62 | "graceful-fs": "^4.2.6",
|
63 | "html-entities": "^2.3.2",
|
64 | "http-proxy-middleware": "^2.0.3",
|
65 | "ipaddr.js": "^2.0.1",
|
66 | "open": "^8.0.9",
|
67 | "p-retry": "^4.5.0",
|
68 | "rimraf": "^3.0.2",
|
69 | "schema-utils": "^4.0.0",
|
70 | "selfsigned": "^2.0.1",
|
71 | "serve-index": "^1.9.1",
|
72 | "sockjs": "^0.3.24",
|
73 | "spdy": "^4.0.2",
|
74 | "webpack-dev-middleware": "^5.3.1",
|
75 | "ws": "^8.4.2"
|
76 | },
|
77 | "devDependencies": {
|
78 | "@babel/cli": "^7.17.3",
|
79 | "@babel/core": "^7.17.5",
|
80 | "@babel/eslint-parser": "^7.17.0",
|
81 | "@babel/plugin-transform-object-assign": "^7.14.5",
|
82 | "@babel/plugin-transform-runtime": "^7.17.0",
|
83 | "@babel/preset-env": "^7.16.11",
|
84 | "@babel/runtime": "^7.17.2",
|
85 | "@commitlint/cli": "^16.2.3",
|
86 | "@commitlint/config-conventional": "^16.2.1",
|
87 | "@types/compression": "^1.7.2",
|
88 | "@types/default-gateway": "^3.0.1",
|
89 | "@types/rimraf": "^3.0.2",
|
90 | "@types/sockjs-client": "^1.5.1",
|
91 | "@types/trusted-types": "^2.0.2",
|
92 | "acorn": "^8.2.4",
|
93 | "babel-jest": "^27.5.1",
|
94 | "babel-loader": "^8.2.4",
|
95 | "body-parser": "^1.19.2",
|
96 | "core-js": "^3.21.1",
|
97 | "css-loader": "^5.2.4",
|
98 | "eslint": "^8.12.0",
|
99 | "eslint-config-prettier": "^8.4.0",
|
100 | "eslint-config-webpack": "^1.2.5",
|
101 | "eslint-plugin-import": "^2.23.2",
|
102 | "execa": "^5.1.1",
|
103 | "file-loader": "^6.2.0",
|
104 | "html-webpack-plugin": "^4.5.2",
|
105 | "http-proxy": "^1.18.1",
|
106 | "husky": "^7.0.0",
|
107 | "jest": "^27.5.1",
|
108 | "klona": "^2.0.4",
|
109 | "less": "^4.1.1",
|
110 | "less-loader": "^7.3.0",
|
111 | "lint-staged": "^12.3.4",
|
112 | "marked": "^4.0.12",
|
113 | "memfs": "^3.2.2",
|
114 | "npm-run-all": "^4.1.5",
|
115 | "prettier": "^2.6.1",
|
116 | "puppeteer": "^13.4.1",
|
117 | "require-from-string": "^2.0.2",
|
118 | "rimraf": "^3.0.2",
|
119 | "sockjs-client": "^1.6.1",
|
120 | "standard-version": "^9.3.0",
|
121 | "strip-ansi-v6": "npm:strip-ansi@^6.0.0",
|
122 | "style-loader": "^2.0.0",
|
123 | "supertest": "^6.1.3",
|
124 | "tcp-port-used": "^1.0.2",
|
125 | "typescript": "^4.7.2",
|
126 | "url-loader": "^4.1.1",
|
127 | "webpack": "^5.71.0",
|
128 | "webpack-cli": "^4.7.2",
|
129 | "webpack-merge": "^5.8.0"
|
130 | },
|
131 | "peerDependencies": {
|
132 | "webpack": "^4.37.0 || ^5.0.0"
|
133 | },
|
134 | "peerDependenciesMeta": {
|
135 | "webpack-cli": {
|
136 | "optional": true
|
137 | }
|
138 | }
|
139 | }
|