This commit is contained in:
Philipp Kunz 2016-05-19 18:37:54 +02:00
parent e297be6fc2
commit e30dc5d77c
2 changed files with 3 additions and 5 deletions

4
dist/index.js vendored
View File

@ -2,10 +2,10 @@
/// <reference path="./typings/main.d.ts" />
console.log("**** starting NPMTS ****");
var plugins = require("./npmts.plugins");
var promisechain = require("./npmts.promisechain");
var npmts_promisechain_1 = require("./npmts.promisechain");
plugins.beautylog.figletSync("NPMTS");
try {
promisechain.run();
npmts_promisechain_1.promisechain();
}
catch (err) {
console.log(err);

View File

@ -12,8 +12,7 @@ var NpmtsJsdoc = require("./npmts.jsdoc");
var NpmtsOptions = require("./npmts.options");
var NpmtsPublish = require("./npmts.publish");
var NpmtsTests = require("./npmts.tests");
exports.run = function () {
var promisechain;
exports.promisechain = function () {
NpmtsConfigFile.run()
.then(NpmtsOptions.run)
.then(NpmtsClean.run)
@ -47,5 +46,4 @@ exports.run = function () {
plugins.beautylog.success("Done!");
}
});
return promisechain;
};