webpack-dev-middleware

v7.4.2
A development middleware for webpack
webpack middleware development

commitlint

commitlint --from=master

security

npm audit --production

lint:prettier

prettier --cache --list-different .

lint:js

eslint --cache .

lint:spelling

cspell --cache --no-must-find-files --quiet "**/*.*"

lint:types

tsc --pretty --noEmit

lint

npm-run-all -l -p "lint:**"

fix:js

npm run lint:js -- --fix

fix:prettier

npm run lint:prettier -- --write

fix

npm-run-all -l fix:js fix:prettier

clean

del-cli dist types

prebuild

npm run clean

build:types

tsc --declaration --emitDeclarationOnly --outDir types && prettier "types/**/*.ts" --write

build:code

cross-env NODE_ENV=production babel src -d dist --copy-files

build

npm-run-all -p "build:**"

test:only

cross-env NODE_ENV=test jest

test:watch

npm run test:only -- --watch

test:coverage

npm run test:only -- --collectCoverageFrom="src/**/*.js" --coverage

pretest

npm run lint

test

npm run test:coverage

prepare

husky && npm run build

release

standard-version
npm i webpack-dev-middleware

Metadata

  • MIT
  • >= 18.12.0
  • Tobias Koppers @sokra
  • released 8/21/2024

Downloads