tscoverage/ts/index.ts

22 lines
513 B
TypeScript
Raw Normal View History

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);
try {
2016-05-19 16:36:53 +00:00
promisechain();
}
catch(err){
console.log(err);
}