Use a current version of Node.js. Install the dependencies, run the tests, and compile the TypeScript code with yarn or npm:
$ yarn
$ yarn test
$ yarn build
Commit all changes and run the following:
$ npm login
$ npm version <update_type>
$ npm publish
โฆ where <update_type>
is one of patch
, minor
, or major
. This will update the package.json
, and create a tagged Git commit with the version number.
Copyright Ethan Brooks, 2019