mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
12 lines
307 B
JavaScript
12 lines
307 B
JavaScript
module.exports = function (grunt) {
|
|
grunt.registerTask('_build:removePkgJsonDeps', function () {
|
|
const pkg = grunt.file.readJSON('build/kibana/package.json');
|
|
|
|
delete pkg.dependencies;
|
|
|
|
grunt.file.write(
|
|
'build/kibana/package.json',
|
|
JSON.stringify(pkg, null, ' ')
|
|
);
|
|
});
|
|
};
|