Structure for a JavaScript library (JavaScript 5.1 + Node.js 6.3.0 + Grunt).
If necessary, install Grunt’s command line interface globally with npm install -g grunt-cli
. Install development dependencies with npm install -d
.
Run tests with grunt test
.
Build from source with grunt build
.
To build from source automatically when files are changed run grunt watch
.