typescript-react-lib-starter
A simplistic typescript lib boilerplate using React, babel, tslint, ava, and CircleCI.
nvm use 10.15.1npm 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.
Scripts
npm run build
: build source code fromsrc
todist
npm publish
: publish code to npmnpm 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)