kibana/tasks/build/install_npm_deps.js
Court Ewing 2876f1fdf6 Revert "Switch to Yarn (#11637)"
This reverts commit 71a9b8b6bc.

Until we get all the relevant infra configured with yarn as well.
2017-05-27 08:51:19 -04:00

12 lines
333 B
JavaScript

import { exec } from 'child_process';
module.exports = function (grunt) {
grunt.registerTask('_build:installNpmDeps', function () {
grunt.file.mkdir('build/kibana/node_modules');
exec('npm install --production --no-optional', {
cwd: grunt.config.process('<%= root %>/build/kibana')
}, this.async());
});
};