In order to properly work on the development environment, run:
npm install
and make sure to have grunt-cli
and bower
installed globally.
To serve the files just run grunt serve
and visit localhost:9000
on your browser.
Right now we are using tests/test.html
to manually test the behavior of Near.js.
We have a grunt + karma + jasmine environment to unit test Popper.js
Feel free to add tests to the /tests
folder, any JavaScript file in that folder will be executed as test.
To create a new release of Popper.js, run:
grunt dist
The files will be automatically minified and copied in the build
directory.
NB Never commit changes and builds together! Each build should have its own dedicated commit.