mochapack

v1.1.12
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

yarn run clean-lib && babel ./src -d lib --source-maps

lint

eslint src test bin --fix

flow

flow

test

yarn run clean-tmp && yarn 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

yarn run lint

docs:clean

del-cli _book

docs:prepare

gitbook install

docs:build

yarn run docs:clean && yarn run docs:prepare && gitbook build

docs:watch

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

docs:deploy

gh-pages -d _book

prepublishOnly

yarn run build && yarn run docs:build

postpublish

yarn run docs:deploy

release

np

watch

babel ./src -w -d lib

Metadata

  • MIT
  • Whatever
  • Victor Vlasenko
  • released 11/26/2019

Downloads

Maintainers