Basic example.
import Render from 'mm-render'
Render.init();
Render.add(cb, 30);
To build the sources with babel
in ./lib
directory :
npm run build
To generate the JSDoc
:
npm run docs
To generate the documentation and deploy on gh-pages
branch :
npm run docs:deploy
To run the tests, first clone the repository and install its dependencies :
git clone https://github.com/MM56/mm-render.git
cd mm-render
npm install
Then, run the tests :
npm test
To watch (test-driven development) :
npm run test:watch
For coverage :
npm run test:coverage