require-grunt-configs
Version:
Load a directory of grunt configurations. Very similar to load-grunt-tasks but for configuration.
17 lines (11 loc) • 429 B
JavaScript
module.exports = function (grunt) {
// load all configuration files
var configuration = require("require-grunt-configs")(grunt, "grunt/conf");
grunt.initConfig(configuration);
// load custom tasks
grunt.loadTasks("grunt/task");
// load installed npm tasks
require("load-grunt-tasks")(grunt);
// Register the default tasks
grunt.registerTask('default', ['jshint', 'concat', 'uglify', 'sass', 'notify']);
};