@spalger/kibana
Version:
Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elastic
29 lines (24 loc) • 684 B
JavaScript
module.exports = function (grunt) {
let {resolve} = require('path');
let root = p => resolve(__dirname, '../../', p);
return {
devServer: {
options: {
wait: false,
ready: /Server running/,
quiet: false,
failOnError: false
},
cmd: './bin/kibana',
args: ['--dev', '--no-watch', '--logging.json=false']
},
eslint: {
cmd: root('node_modules/.bin/eslint'),
args: ['Gruntfile.js', 'src/', 'tasks/', '--ignore-path', root('.eslintignore'), '--color']
},
eslintStaged: {
cmd: root('node_modules/.bin/eslint'),
args: ['--ignore-path', root('.eslintignore'), '--color']
}
};
};