FAQ
How to setup?
Tested so far only with node 8.9.2. I recommend using nvm to manage multiple versions of node.
nvm use 8.9.2
cd <to this directory>
npm install
How to build?
npm run build
Super simple, isn't it?
How to run tests?
Temp note: edit the test/test.js to have the right values for API_URL
and EMAIL_PWD
. Will fix this by moving them to a const file later that you can edit instead of editing the source code like this.
There are multiple ways to run tests. Simplest being
npm run test
To run a specific test whose description contains string xyz
run
./node_modules/.bin/mocha --grep xyz
How to publish to npm?
npm version patch -m "patch message"
npm publish