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-05 16:53:47 +02:00
|
|
|
require('../src/setup_node_env');
|
2018-04-20 21:13:37 +02:00
|
|
|
|
2019-10-05 16:53:47 +02:00
|
|
|
const { buildTask } = require('./tasks/build');
|
|
|
|
const { devTask } = require('./tasks/dev');
|
2020-02-18 23:21:36 +01:00
|
|
|
const { testTask, testKarmaTask, testKarmaDebugTask } = require('./tasks/test');
|
2020-07-15 15:53:40 +02:00
|
|
|
const { downloadChromium } = require('./tasks/download_chromium');
|
2018-04-20 21:13:37 +02:00
|
|
|
|
2019-10-05 16:53:47 +02:00
|
|
|
// export the tasks that are runnable from the CLI
|
|
|
|
module.exports = {
|
|
|
|
build: buildTask,
|
|
|
|
dev: devTask,
|
2020-07-15 15:53:40 +02:00
|
|
|
downloadChromium,
|
2019-10-05 16:53:47 +02:00
|
|
|
test: testTask,
|
2020-02-18 23:21:36 +01:00
|
|
|
'test:karma': testKarmaTask,
|
|
|
|
'test:karma:debug': testKarmaDebugTask,
|
2018-04-20 21:13:37 +02:00
|
|
|
};
|