2016-03-12 09:21:16 +00:00
|
|
|
"use strict";
|
2016-05-25 03:23:48 +00:00
|
|
|
require("typings-global");
|
2016-06-09 22:53:30 +00:00
|
|
|
// start early and load modules
|
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-05-21 23:09:55 +00:00
|
|
|
early.stop();
|
2016-02-19 23:53:23 +00:00
|
|
|
plugins.beautylog.figletSync("NPMTS");
|
2016-06-09 22:53:30 +00:00
|
|
|
var projectInfo = new plugins.projectinfo.ProjectinfoNpm(paths.npmtsPackageRoot);
|
|
|
|
plugins.beautylog.info("npmts version: " + projectInfo.version);
|
2016-03-23 13:12:58 +00:00
|
|
|
try {
|
2016-05-19 16:37:54 +00:00
|
|
|
npmts_promisechain_1.promisechain();
|
2016-03-23 13:12:58 +00:00
|
|
|
}
|
|
|
|
catch (err) {
|
|
|
|
console.log(err);
|
|
|
|
}
|