tscoverage/dist/index.js

29 lines
965 B
JavaScript
Raw Normal View History

2016-03-12 09:21:16 +00:00
"use strict";
2016-05-25 03:23:48 +00:00
require("typings-global");
2016-06-10 04:14:12 +00:00
/* ================================================== *
Starting NPMTS main process.
* ================================================== */
2016-05-21 23:09:55 +00:00
var early = require("early");
early.start("NPMTS");
2016-02-19 23:53:23 +00:00
var plugins = require("./npmts.plugins");
2016-06-09 22:53:30 +00:00
var paths = require("./npmts.paths");
2016-05-19 16:37:54 +00:00
var npmts_promisechain_1 = require("./npmts.promisechain");
2016-06-11 22:45:33 +00:00
early.stop()
.done(function () {
var npmtsProjectInfo = new plugins.projectinfo.ProjectinfoNpm(paths.npmtsPackageRoot);
var npmtsCli = new plugins.smartcli.Smartcli();
npmtsCli.standardTask()
.then(function () {
plugins.beautylog.figletSync("NPMTS");
plugins.beautylog.info("npmts version: " + npmtsProjectInfo.version);
try {
npmts_promisechain_1.promisechain();
}
catch (err) {
console.log(err);
}
});
npmtsCli.addVersion(npmtsProjectInfo.version);
npmtsCli.startParse();
2016-06-10 04:14:12 +00:00
});