Grunt task for creating custom browserify builds of mout.js.
This plugin requires Grunt
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-mout --save-dev
In your project's Gruntfile, add a section named
mout to the data object passed into
List of mout.js modules to include. Omit this option to include all of them.
Whether to include an inline source map at the bottom of the generated
Whether to augment the generated
mout bundle with methods for recording and printing your app's usage of mout. Use this
functionality to learn what
mout modules your app uses, so you can generate a slimmer
mout build. Methods added to
An object containing the call counts.
Reset call counts to zero.
Return an array of the modules that were called. This array will be in the format required for the
options.modules option of the grunt task.
Using the default options, all mout.js modules will be included and the bundle will be written to
Override the destination path or specify a whitelist of mout.js modules to include (their dependencies will automatically be included) .
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.