@webpack-contrib/defaults

v6.3.0
Project configuration and boilerplate defaults for webpack projects
webpack

start

npm run build -- -w

prebuild

npm run clean

build

cross-env NODE_ENV=production babel src -d dist --ignore "src/**/*.test.js" --copy-files

clean

del-cli dist

commitlint

commitlint --from=master

lint:prettier

prettier "{**/*,*}.{js,json,md,yml,css}" --list-different

lint:js

eslint --cache src test

lint

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

prepare

npm run build

release

standard-version

security

npm audit

test:only

cross-env NODE_ENV=test jest

test:watch

cross-env NODE_ENV=test jest --watch

test:coverage

cross-env NODE_ENV=test jest --collectCoverageFrom="src/**/*.js" --coverage

pretest

npm run lint

test

cross-env NODE_ENV=test npm run test:coverage

defaults

npm run build && node bin/index.js
npm i @webpack-contrib/defaults

Metadata

  • MIT
  • >= 8.9.0
  • Artem Sapegin
  • released 12/9/2019

Downloads