mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
14 lines
376 B
JavaScript
14 lines
376 B
JavaScript
module.exports = function (grunt) {
|
|
var { exec } = require('child_process');
|
|
var { resolve } = require('path');
|
|
|
|
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());
|
|
});
|
|
};
|
|
|
|
|