src/PluginManager/index.js
function PluginManager (we) {
  this.we = we;

  projectPath = we.projectPath;
  // npm module folder from node_modules
  this.nodeModulesPath = path.resolve(projectPath, 'node_modules');

  this.configs = we.configs;
  this.plugins = {};
  this.pluginNames = this.getPluginsList();
  // a list of plugin.js files get from npm module folder
  this.pluginFiles = {};
  // array with all plugin paths
  this.pluginPaths = [];
  // plugin records from db
  this.records = [];
  // a list of plugins to install
  this.pluginsToInstall = {};
}
function PluginManager (we) {
  this.we = we;

  projectPath = we.projectPath;
  // npm module folder from node_modules
  this.nodeModulesPath = path.resolve(projectPath, 'node_modules');

  this.configs = we.configs;
  this.plugins = {};
  this.pluginNames = this.getPluginsList();
  // a list of plugin.js files get from npm module folder
  this.pluginFiles = {};
  // array with all plugin paths
  this.pluginPaths = [];
  // plugin records from db
  this.records = [];
  // a list of plugins to install
  this.pluginsToInstall = {};
}
function PluginManager ( we ) { this . we = we ; projectPath = we . projectPath ; // npm module folder from node_modules this . nodeModulesPath = path . resolve ( projectPath , 'node_modules' ) ; this . configs = we . configs ; this . plugins = { } ; this . pluginNames = this . getPluginsList ( ) ; // a list of plugin.js files get from npm module folder this . pluginFiles = { } ; // array with all plugin paths this . pluginPaths = [ ] ; // plugin records from db this . records = [ ] ; // a list of plugins to install this . pluginsToInstall = { } ; }
Plugin manager, load, valid and store avaible plugins

@type {Object}
Plugin manager load valid and store avaible plugins