preconfigure-grunt
Node plugin for configuring the configuration of grunt before grunt is initialized.
Installation
npm install --save preconfigure-grunt
Usage
var configurer = ;
to provide the configurer with an initial configuration you can now do this:
configurer;
or if you prefer to start with an empty configuration you can skip this function.
to add a configuration option you can now do this:
configurer;
to merge a configuration option you can now do this:
configurer;
this will do a deep merge.
to get a configuration option you can now do this:
configurer;
to get the entire configuration you can now do this:
configurer;
to initialize the grunt initConfig you can now do this:
configurer;
instead of configuring it like this:
grunt;
Contributions
If you want to contribute, please add a test. Also, don't change the version in package.json
.
Release History
(Nothing yet)