2016-05-25 03:23:48 +00:00
|
|
|
import "typings-global";
|
2016-06-09 22:53:30 +00:00
|
|
|
|
|
|
|
// start early and load modules
|
2016-05-21 23:09:55 +00:00
|
|
|
import * as early from "early";
|
|
|
|
early.start("NPMTS");
|
2016-05-19 16:36:53 +00:00
|
|
|
import * as plugins from "./npmts.plugins"
|
2016-06-09 22:53:30 +00:00
|
|
|
import * as paths from "./npmts.paths";
|
2016-05-19 16:36:53 +00:00
|
|
|
import {promisechain} from "./npmts.promisechain";
|
2016-05-21 23:09:55 +00:00
|
|
|
early.stop();
|
|
|
|
|
2016-02-11 18:10:01 +00:00
|
|
|
plugins.beautylog.figletSync("NPMTS");
|
2016-06-09 22:53:30 +00:00
|
|
|
let 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:36:53 +00:00
|
|
|
promisechain();
|
2016-03-23 13:12:58 +00:00
|
|
|
}
|
|
|
|
catch(err){
|
|
|
|
console.log(err);
|
|
|
|
}
|
|
|
|
|