* [eslint] upgrade to 4.10.0
* [eslint-config-kibana] limit jest config to jest test files
* [ui_framework] remove trailing comma from rest-spreads
* [dashboard/tests] tag jest helpers with .test.js suffix
* explicitly import expect.js where used
* [eslint] apply auto-fixes
* [eslint] manually add/wrap some parens for compliance
* [npm] point to local packages for testing/review
* [jest] remove .test extension from jest helpers
* [ui_framework] fix trailing comma removal from
|
||
---|---|---|
.. | ||
docker/docs | ||
package_scripts | ||
archives.js | ||
babel_cache.js | ||
data.js | ||
docker_docs.js | ||
download_node_builds.js | ||
index.js | ||
install_npm_deps.js | ||
installed_plugins.js | ||
notice.js | ||
os_packages.js | ||
os_shell_scripts.js | ||
package_json.js | ||
pleaserun.js | ||
readme.js | ||
remove_pkg_json_deps.js | ||
shasums.js | ||
verify_translations.js | ||
versioned_links.js |
module.exports = function (grunt) { grunt.registerTask('_build:readme', function () { function transformReadme(readme) { return readme.replace(/\s##\sSnapshot\sBuilds[\s\S]*/, ''); } grunt.file.copy('LICENSE.md', 'build/kibana/LICENSE.txt'); grunt.file.write('build/kibana/README.txt', transformReadme(grunt.file.read('README.md'))); }); };