This reverts commit 71a9b8b6bc
.
Until we get all the relevant infra configured with yarn as well.
12 lines
333 B
JavaScript
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());
|
|
});
|
|
};
|
|
|
|
|