diff --git a/dist/index.js b/dist/index.js index 569e833..414134a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,8 +1,10 @@ "use strict"; /// -console.log("**** starting NPMTS ****"); +var early = require("early"); +early.start("NPMTS"); var plugins = require("./npmts.plugins"); var npmts_promisechain_1 = require("./npmts.promisechain"); +early.stop(); plugins.beautylog.figletSync("NPMTS"); try { npmts_promisechain_1.promisechain(); diff --git a/package.json b/package.json index 7d278e5..2bbee2c 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,8 @@ }, "homepage": "https://github.com/pushrocks/npmts#readme", "dependencies": { - "beautylog": "5.0.4", + "beautylog": "5.0.5", + "early": "^1.0.7", "fs-extra": "^0.30.0", "gulp": "3.9.1", "gulp-codecov": "^2.0.1", diff --git a/ts/index.ts b/ts/index.ts index 8b0ce74..7bdff15 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -1,7 +1,10 @@ /// -console.log("**** starting NPMTS ****"); +import * as early from "early"; +early.start("NPMTS"); import * as plugins from "./npmts.plugins" import {promisechain} from "./npmts.promisechain"; +early.stop(); + plugins.beautylog.figletSync("NPMTS"); try {