getLocalPlugins() {
    const { SVRX_ROOT } = this;
    const pluginsRoot = libPath.resolve(SVRX_ROOT, 'plugins');
    const plugins = (fs.existsSync(pluginsRoot) && getDirectories(pluginsRoot)) || [];
    const isValidVersion = (name) => (!!semver.valid(name));

    return plugins.map((name) => {
      const pluginRoot = libPath.resolve(pluginsRoot, name);
      return {
        name,
        versions: (fs.existsSync(pluginRoot) && getDirectories(pluginRoot, isValidVersion)) || [],
      };
    }).filter((p) => p.versions.length > 0);
  }
get all local installed plugins and versions
@returns {{versions: (*|Array), name: *}[]}