0.6.5 • Published 7 years ago
mammoth-data-library v0.6.5
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 installHow to build?
npm run buildSuper 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 testTo run a specific test whose description contains string xyz run
./node_modules/.bin/mocha --grep xyzHow to publish to npm?
npm version patch -m "patch message"npm publish