2018-04-20 21:13:37 +02:00
|
|
|
/*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2019-10-07 07:49:28 +02:00
|
|
|
require('../src/setup_node_env');
|
2018-04-20 21:13:37 +02:00
|
|
|
|
2019-10-07 07:49:28 +02:00
|
|
|
const { buildTask } = require('./tasks/build');
|
|
|
|
const { devTask } = require('./tasks/dev');
|
2019-11-25 21:33:20 +01:00
|
|
|
const { testTask, testBrowserTask, testBrowserDevTask } = require('./tasks/test');
|
2019-10-07 07:49:28 +02:00
|
|
|
const { prepareTask } = require('./tasks/prepare');
|
2018-04-20 21:13:37 +02:00
|
|
|
|
2019-10-07 07:49:28 +02:00
|
|
|
// export the tasks that are runnable from the CLI
|
|
|
|
module.exports = {
|
|
|
|
build: buildTask,
|
|
|
|
dev: devTask,
|
|
|
|
prepare: prepareTask,
|
|
|
|
test: testTask,
|
|
|
|
testbrowser: testBrowserTask,
|
|
|
|
'testbrowser-dev': testBrowserDevTask,
|
2018-04-20 21:13:37 +02:00
|
|
|
};
|