code: function getProjectName(componentPath, optionsName){
  		if (typeof optionsName == 'string') return optionsName;
  		var projectName;
  		for (var prj in optionsName){
  			if(~componentPath.indexOf(optionsName[prj])) projectName = prj;
  		}
  		if (!projectName) grunt.fail.warn('Missing name in options for component with path: ' + componentPath);
  		return projectName;
  	}
docs: matches project name with component's path