test
yarn run lint && yarn run typecheck && yarn run test:fast
test:fast
mocha test --compilers js:babel-core/register --globals global
typecheck
flow check
lint
eslint src test -
lint:fix
yarn run lint --fix
build
yarn run build:clean && yarn run build:lib && yarn run build:flow
build:clean
rimraf lib
build:lib
babel src --out-dir lib
build:flow
flow-copy-source --verbose src lib
coverage
yarn run coverage:analyise && yarn run coverage:report && yarn run coverage:publish
coverage:analyise
nyc --check-coverage --statements 100 --branches 100 --functions 100 --lines 100 yarn run test:fast
coverage:report
nyc report --reporter=text-lcov > coverage.lcov
coverage:publish
codecov
prepublish
yarn run build