code: function (config, component) {
      var componentConfigFile;
  
      ['bower.json', '.bower.json', 'component.json', 'package.json'].
      forEach(function (configFile) {
  
          configFile = path.join(config.get('bower-directory'), component, configFile);
  
          console.log(configFile);
  
          if (!_.isObject(componentConfigFile) && fs.existsSync(configFile)) {
              componentConfigFile = JSON.parse(fs.readFileSync(configFile));
          }
      });
  
  
  
      return componentConfigFile;
  }
docs: Find the component's JSON configuration file.
  
  @param  {object} config     the global configuration object
  @param  {string} component  the name of the component to dig for
  @return {object} the component's config file