UNPKG

767 BJavaScriptView Raw
1// Copyright IBM Corp. and LoopBack contributors 2017,2020. All Rights Reserved.
2// Node module: @loopback/build
3// This file is licensed under the MIT License.
4// License text available at https://opensource.org/licenses/MIT
5
6'use strict';
7
8exports.tsc = require('./bin/compile-package');
9exports.prettier = require('./bin/run-prettier');
10exports.nyc = require('./bin/run-nyc');
11exports.mocha = require('./bin/run-mocha');
12exports.clean = require('./bin/run-clean');
13
14const utils = require('./bin/utils');
15exports.runCLI = utils.runCLI;
16exports.runShell = utils.runShell;
17
18const path = require('path');
19exports.typeScriptPath = path.resolve(
20 require.resolve('typescript/package.json'),
21 '..',
22);
23
24exports.mergeMochaConfigs = require('./src/merge-mocha-configs');