grunt-loader v0.2.1
Grunt loader v0.1.0
A modular approach for grunt configuration. Forget about your Gruntfile.
This project aims to simplify your Gruntfile configuration by simply dropping
stand-alone YAML configuration files at grunt/contrib/{package}.yaml
, and
tasks at grunt/tasks/{taskname}.yaml
.
Please submit your questions, ideas or wathever here at github issues.
How to use
Add 'grunt-loader' dependency on your
package.json
:"devDependencies": { ... "grunt-loader": "0.1.0" }
Configure your Gruntfile once. It should looks like this:
module.exports = function(grunt) { require('grunt-loader')(grunt); };
Customize your contrib-* things and tasks at
grunt/contrib
andgrunt/tasks
directories.
Directory structure
Take a look at the example
directory on this repository. It's important that
you follow exactly the same directory structure:
project-root/
├── grunt/
| ├── contrib/ # contrib definitions
| └── tasks/ # custom tasks
| └── default.yaml
├── Gruntfile.js
└── package.json
License
MIT License. See LICENSE file.