* Update gulp related packages * ts-ify and gulp4-ify x-pack tasks, remove unused canvas tasks * remove unnecessary gulp.TaskFunction usage * fix old references * update renovate config * move constants into helpers directory * typo * compact tasks a bit, remove unnecessary paths * fix build directories * deprecate testonly task * rather than justifying an unjustifiable ts-ignore, ts-ify the imported module * update renovate config * update browser download tests to mock axios * add root index.d.ts to tsconfig * export BrowserType * remove unnecessary `@ts-ignore` * use consistent casing
23 lines
776 B
JavaScript
23 lines
776 B
JavaScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License;
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
*/
|
|
|
|
require('../src/setup_node_env');
|
|
|
|
const { buildTask } = require('./tasks/build');
|
|
const { devTask } = require('./tasks/dev');
|
|
const { testTask, testBrowserTask, testBrowserDevTask, testServerTask } = require('./tasks/test');
|
|
const { prepareTask } = require('./tasks/prepare');
|
|
|
|
// export the tasks that are runnable from the CLI
|
|
module.exports = {
|
|
build: buildTask,
|
|
dev: devTask,
|
|
prepare: prepareTask,
|
|
test: testTask,
|
|
testserver: testServerTask,
|
|
testbrowser: testBrowserTask,
|
|
'testbrowser-dev': testBrowserDevTask,
|
|
};
|