docs: function getJsImports(importType) {
      if (cache.jsImports[importType]) {
          return cache.jsImports[importType];
      }
  
      var unprefixedImports = {};
  
      if (cache.jsImports._unprefixedImports) {
          unprefixedImports = cache.jsImports._unprefixedImports;
      } else {
          var semanticUiReactPath = getPackagePath('semantic-ui-react');
          if (!semanticUiReactPath) {
              error('Package semantic-ui-react could not be found. Install semantic-ui-react or set convertMemberImports ' +
                  'to false.');
          }
  
          var srcDirPath = path.resolve(semanticUiReactPath, 'src');
  
          var searchFolders = [
              'addons',
              'behaviors',
              'collections',
              'elements',
              'modules',
              'views'
          ];
  
          searchFolders.forEach(function (searchFolder) {
              var searchRoot = path.resolve(srcDirPath, searchFolder);
  
              dirTree(searchRoot, {extensions: /\.js$/}, function (item) {
                  var basename = path.basename(item.path, '.js');
  
                  // skip files that do not start with an uppercase letter
                  if (/[^A-Z]/.test(basename[0])) {
                      return;
                  }
  
                  if (unprefixedImports[basename]) {
                      error('duplicate react component name \'' + basename + '\' - probably the plugin needs an update');
                  }
                  unprefixedImports[basename] = item.path.substring(srcDirPath.length).replace(/\\/g, '/');
              });
          });
  
          cache.jsImports._unprefixedImports = unprefixedImports;
      }
  
      var prefix;
      if (importType === 'src') {
          prefix = '/src';
      } else {
          prefix = '/dist/' + importType;
      }
  
      cache.jsImports[importType] = {};
      for(var key in unprefixedImports) {
          if (unprefixedImports.hasOwnProperty(key)) {
              cache.jsImports[importType][key] = prefix + unprefixedImports[key];
          }
      }
  
      return cache.jsImports[importType];
  }