code: function loadConfig(path) {
    var configuration = {};
    var configurationFiles = fs.readdirSync(path);
  
    configurationFiles.forEach(function(configurationFile) {
      configuration[configurationFile.replace(/\.js$/, '')] = require(path + '/' + configurationFile);
    });
  
    return configuration;
  }
docs: Loads a bunch of grunt configuration files from the given directory.
  
  Loaded configurations can be referenced using the configuration file name.
  For example, if myConf.js returns an object with a property "test", it will be accessible using myConf.test.
  
  @param {String} path Path of the directory containing configuration files
  @return {Object} The list of configurations indexed by filename without the extension