* [precommitHook] move to dev script * [eslint] fix lint error * [dev/eslint] do simply boolean checks first * [dev] use shared REPO_ROOT constant * [dev/File] precompute relative/ext of path * [dev/eslint] fix relative import * [dev/eslint] fix typos * [grunt] remove unused run:eslintStaged config * [dev/run] only create log if we are going to use it * [dev/run/isFailError] ensure return value is Boolean * [dev/precommitHook] use less intermediate vars
31 lines
800 B
JavaScript
31 lines
800 B
JavaScript
module.exports = function () {
|
|
return {
|
|
devSource: {
|
|
options: { mode: true },
|
|
src: [
|
|
'src/**',
|
|
'!src/**/__tests__/**',
|
|
'!src/test_utils/**',
|
|
'!src/fixtures/**',
|
|
'!src/core_plugins/dev_mode/**',
|
|
'!src/core_plugins/tests_bundle/**',
|
|
'!src/core_plugins/console/public/tests/**',
|
|
'!src/cli/cluster/**',
|
|
'!src/ui_framework/doc_site/**',
|
|
'!src/es_archiver/**',
|
|
'!src/functional_test_runner/**',
|
|
'!src/dev/**',
|
|
'bin/**',
|
|
'ui_framework/components/**',
|
|
'ui_framework/services/**',
|
|
'ui_framework/dist/**',
|
|
'ui_framework/src/**',
|
|
'webpackShims/**',
|
|
'config/kibana.yml',
|
|
],
|
|
dest: 'build/kibana',
|
|
expand: true
|
|
},
|
|
};
|
|
};
|