lib/haibu/common/npm.js
function installAll(deps) {
    npm.commands.install(dir, deps, function (err) {
      if (err) {
        return callback(err);
      }

      haibu.emit('npm:install:success', 'info', meta);
      callback(null, deps);
    });
  }
function installAll(deps) {
    npm.commands.install(dir, deps, function (err) {
      if (err) {
        return callback(err);
      }

      haibu.emit('npm:install:success', 'info', meta);
      callback(null, deps);
    });
  }
function installAll ( deps ) { npm . commands . install ( dir , deps , function ( err ) { if ( err ) { return callback ( err ) ; } haibu . emit ( 'npm:install:success' , 'info' , meta ) ; callback ( null , deps ) ; } ) ; }
Install all dependencies into the target directory
Install all dependencies into the target directory