This document is a guide to help you build buckets.js and buckets.min.js from scratch. It may help you in case you modify the source files.
- Install Node.js
- Install Grunt CLI:
npm install -g grunt-cli
- Run
npm install
from the current directory to download Grunt development dependencies.
Run grunt
from the current directory.
This will read all the files inside src/
and create buckets.js, buckets.min.js, run all tests inside test/
and generate documentation.
Run grunt doc
from the current directory.
Run grunt test
from the current directory.
Run grunt bump
from the current directory. See Grunt Bump. This will update package.json, bower.json, commit, tag the version and push to the remote repository.
There are a few other commands defined in Gruntfile.js
. Check them out.