npm -g i gulp-cli jest-cli
.- optional and faster
yarn
-yarn install
,yarn add global gulp-cli jest-cli
.
gulp --tasks
to get going.
jest --watchAll
to watch recompiled files and rerun tests.
Supports:
jest
, needsjest-cli
installed. it will execute the transpiled files from typescript.npm run docker-test
requiresdocker
,docker-compose
to be installed.
gulp
will run default task which consist of running tasks:lint
,clean
,build
,minify
thenjest
and collect coverage.
Note all minified
files are ES5
.