Grunt wrapper for abe-json-builder
npm install grunt-abe-json-builder



Grunt task for abe-json-builder
~0.4.0If 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:
``shell`
npm install grunt-abe-json-builder --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
`js`
grunt.loadNpmTasks('grunt-abe-json-builder');
Type: String Required
This is the location of your ABE mock files, in which to cycle through.
Type: String Required
This is the location in which you want your new JSON files to be created within.
Type: Boolean Default: false
This flags whether or not you wish abe-json-builder to log out when files are created.
`js
module.exports = function (grunt) {
grunt.initConfig({
'abe-json-builder': {
options: {
location: 'myApp/mocks/*/',
build: 'dist/json/'
},
dist: {},
dev: {
verbose: true
}
}
});
};
`
To run this you would simply run:
`js``
grunt abe-json-builder:dev