To start contributing you will need to fork the repo on github and clone it first.
Running npm install
will run the build.js
script that compiles a stand alone AMD, node and globals compatible library to dist/nomnoml.js
.
Before committing and before making a pull request it is useful to make sure that all unit tests are still working and that the usecases are also running fine. Here is a good procedure:
- Run
npm install
. - Check
index.html
. - Check
test/index.html
. - Check
test/standalone.usecase.html
. - Check
test/requirejs.usecase.html
.