webpack-dev-server
Version:
Serves a webpack app. Updates the browser on changes.
165 lines (164 loc) • 5.9 kB
JSON
{
"name": "webpack-dev-server",
"version": "6.0.0",
"description": "Serves a webpack app. Updates the browser on changes.",
"homepage": "https://github.com/webpack/webpack-dev-server#readme",
"bugs": "https://github.com/webpack/webpack-dev-server/issues",
"repository": "https://github.com/webpack/webpack-dev-server",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/webpack"
},
"license": "MIT",
"author": "Tobias Koppers @sokra",
"type": "module",
"exports": {
".": {
"types": "./types/lib/Server.d.ts",
"import": "./lib/Server.js",
"require": "./dist/Server.js",
"default": "./lib/Server.js"
},
"./client/*": "./client/*",
"./package.json": "./package.json"
},
"main": "./dist/Server.js",
"module": "./lib/Server.js",
"types": "types/lib/Server.d.ts",
"bin": "bin/webpack-dev-server.js",
"files": [
"bin",
"lib",
"dist",
"client",
"types"
],
"scripts": {
"fmt:check": "prettier \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different",
"lint:prettier": "prettier --cache --list-different .",
"lint:code": "eslint --cache .",
"lint:types": "tsc --pretty --noEmit",
"lint:types-client": "tsc -p tsconfig.client.json",
"lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
"lint": "npm-run-all -l -p \"lint:**\"",
"fix:code": "npm run lint:code -- --fix",
"fix:prettier": "npm run lint:prettier -- --write",
"fix": "npm-run-all -l fix:code fix:prettier",
"commitlint": "commitlint --from=main",
"validate:changeset": "node .changeset/changeset-validate.mjs",
"build:cjs": "rimraf -g ./dist/* && babel lib --out-dir dist --env-name cjs --copy-files --no-copy-ignored && node ./scripts/finalize-cjs-build.mjs",
"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",
"build:types": "rimraf -g ./types/* && tsc --declaration --emitDeclarationOnly --outDir types && node ./scripts/extend-webpack-types.js && prettier \"types/**/*.ts\" --write && prettier \"types/**/*.ts\" --write",
"build": "npm-run-all -p \"build:**\"",
"test:only": "node ./scripts/check-test-ports.mjs && node ./scripts/run-tests.mjs",
"test:coverage": "npm run test:only -- --experimental-test-coverage --test-coverage-include=lib/** --test-coverage-include=bin/** --test-coverage-include=client/** --test-coverage-include=client-src/** --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=coverage/lcov.info",
"test:watch": "npm run test:only -- --watch",
"test": "npm run test:coverage",
"pretest": "npm run lint",
"prepare": "husky && npm run build"
},
"dependencies": {
"@types/bonjour": "^3.5.13",
"@types/connect-history-api-fallback": "^1.5.4",
"@types/express": "^5.0.6",
"@types/express-serve-static-core": "^5.1.1",
"@types/serve-index": "^1.9.4",
"@types/serve-static": "^2.2.0",
"@types/ws": "^8.18.1",
"ansi-html-community": "^0.0.8",
"bonjour-service": "^1.3.0",
"chokidar": "^5.0.0",
"compression": "^1.8.1",
"connect-history-api-fallback": "^2.0.0",
"express": "^5.2.1",
"graceful-fs": "^4.2.11",
"http-proxy-middleware": "^4.1.1",
"ipaddr.js": "^2.3.0",
"launch-editor": "^2.14.1",
"open": "^11.0.0",
"p-retry": "^8.0.0",
"schema-utils": "^4.3.3",
"selfsigned": "^5.5.0",
"serve-index": "^1.9.2",
"tinyglobby": "^0.2.15",
"webpack-dev-middleware": "^8.0.3",
"ws": "^8.20.0"
},
"devDependencies": {
"@babel/cli": "^7.28.6",
"@babel/core": "^7.29.0",
"@babel/eslint-parser": "^7.28.6",
"@babel/plugin-transform-object-assign": "^7.27.1",
"@babel/preset-env": "^7.29.2",
"@changesets/cli": "^2.30.0",
"@changesets/get-github-info": "^0.8.0",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@eslint/markdown": "^7.0.0",
"@hono/node-server": "^1.19.12",
"@types/compression": "^1.7.2",
"@types/graceful-fs": "^4.1.9",
"@types/node": "^24.0.14",
"@types/node-forge": "^1.3.1",
"@types/picomatch": "^4.0.2",
"@types/trusted-types": "^2.0.7",
"acorn": "^8.14.0",
"babel-loader": "^10.0.0",
"babel-plugin-transform-import-meta": "^2.3.3",
"connect": "^3.7.0",
"core-js": "^3.38.1",
"cspell": "^8.15.5",
"css-loader": "^7.1.1",
"eslint": "^9.30.1",
"eslint-config-prettier": "^10.1.5",
"eslint-config-webpack": "^4.9.6",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsdoc": "^51.3.4",
"eslint-plugin-n": "^17.21.0",
"execa": "^5.1.1",
"expect": "^30.4.1",
"hono": "^4.12.9",
"html-webpack-plugin": "^5.6.3",
"httpxy": "^0.5.3",
"husky": "^9.1.6",
"jest-mock": "^30.4.1",
"jsdom": "^29.1.1",
"klona": "^2.0.4",
"less": "^4.1.1",
"less-loader": "^12.1.0",
"lint-staged": "^15.2.10",
"marked": "^12.0.0",
"memfs": "^4.14.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.4",
"pretty-format": "^30.4.1",
"puppeteer": "^24.35.0",
"readable-stream": "^4.5.2",
"require-from-string": "^2.0.2",
"rimraf": "^5.0.5",
"simple-git": "^3.28.0",
"style-loader": "^4.0.0",
"supertest": "^7.2.2",
"tcp-port-used": "^1.0.2",
"typescript": "^5.7.2",
"typescript-eslint": "^8.36.0",
"wait-for-expect": "^3.0.2",
"webpack": "^5.108.0",
"webpack-cli": "^7.0.2",
"webpack-merge": "^6.0.1"
},
"peerDependencies": {
"webpack": "^5.101.0"
},
"peerDependenciesMeta": {
"webpack-cli": {
"optional": true
},
"webpack": {
"optional": true
}
},
"engines": {
"node": ">= 22.15.0"
}
}