A simplistic typescript boilerplate using babel, tslint, ava, and CircleCI.
nvm use 10.15.1
npm install
# test
# run all tests
npm run test
# run a single test file
npm run ava ./path/to/test-file.js
To run a single test case, follow instructions here.
-
npm run build
: build source code fromsrc
todist
-
npm publish
: publish code to npm -
npm run changelog-patch
bump version patch (bug fixes) -
npm run changelog-minor
bump version minor (new features) -
npm run changelog-major
bump version major (breaking change)