Preventing optional packages from being install.

This commit is contained in:
Chris Cowan 2015-01-27 17:33:07 -07:00
parent 5b74f9cbdb
commit c926cc1171

View file

@ -4,7 +4,7 @@ module.exports = function (grunt) {
grunt.registerTask('npm_install_kibana', 'NPM isntall kibana server into dist', function () {
var done = this.async();
var cwd = join(grunt.config.get('build'), 'dist', 'kibana', 'src');
var command = 'npm install --production';
var command = 'npm install --production --no-optional';
var options = { cwd: cwd };
child_process.exec(command, options, function (err, stdout, stderr) {
if (err) {