@darrinholst/mocha-webpack

v1.0.1
mocha cli with webpack support
webpack mocha

clean-lib

del-cli "lib/**" "!lib" "!lib/reporters" "!lib/utils.js" "!lib/entry.js" "!lib/reporters/base.js"

clean-tmp

del-cli ".tmp/**"

build

npm run clean-lib && babel ./src -d lib

lint

eslint src test bin

flow

flow

test

npm run clean-tmp && npm run build && mocha --timeout 10000 --recursive --require babel-register "test/**/*.test.js"

cover

cross-env BABEL_ENV=coverage nyc --reporter=lcov --reporter=text npm test

posttest

npm run lint

docs:clean

del-cli _book

docs:prepare

gitbook install

docs:build

npm run docs:prepare && gitbook build

docs:watch

npm run docs:prepare && gitbook serve --port 3000

docs:deploy

npm run docs:clean && npm run docs:build && gh-pages -d _book

prepublish

npm run build

postpublish

npm run docs:deploy

release

np
npm i @darrinholst/[email protected]

Metadata

  • MIT
  • Whatever
  • Jan-AndrĂ© Zinser
  • released 11/6/2017

Downloads

Maintainers