beater

v5.0.1
beater: bouzuya's easy test runner. it is inspired by eater.
beater bouzuya eater runner test

build

npm-run-all -s "build:tmp:ts" "build:tmp:es2015" "build:lib"

build:lib

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

build:lib:dts

cpx ".tmp/es2015/src/**/*.d.ts" "lib"

build:lib:js

cpx ".tmp/es5/src/**/*.js" "lib"

build:tmp:es2015

babel .tmp/es2015/ -d .tmp/es5/

build:tmp:ts

tsc

clean

rimraf ".tmp" "lib"

prepublish

npm-run-all -s "clean" "build"

test

nyc node .tmp/es5/test/index.js

watch

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

watch:es2015

npm run build:tmp:es2015 -- --watch

watch:lib

watch --wait 2 'npm run build:lib' '.tmp/es5/src/'

watch:test

watch --wait 2 'npm test' '.tmp/es5/src' '.tmp/es5/test'

watch:ts

tsc --watch

Metadata

  • MIT
  • Whatever
  • bouzuya
  • released 8/4/2017

Downloads

Maintainers