diff --git a/dist/npmts.options.d.ts b/dist/npmts.options.d.ts index a36d4fc..698d965 100644 --- a/dist/npmts.options.d.ts +++ b/dist/npmts.options.d.ts @@ -2,7 +2,7 @@ import 'typings-global'; import plugins = require('./npmts.plugins'); export declare type npmtsMode = 'default' | 'custom'; -export interface npmtsConfig { +export interface INpmtsConfig { argv: any; coverageTreshold: number; docs: boolean; diff --git a/ts/npmts.options.ts b/ts/npmts.options.ts index 72d897f..7d7a926 100644 --- a/ts/npmts.options.ts +++ b/ts/npmts.options.ts @@ -5,7 +5,7 @@ import { npmtsOra } from './npmts.promisechain' export type npmtsMode = 'default' | 'custom' -export interface npmtsConfig { +export interface INpmtsConfig { argv: any, coverageTreshold: number, docs: boolean, @@ -19,7 +19,7 @@ export interface npmtsConfig { export var run = function (argvArg) { let done = plugins.Q.defer() - let defaultConfig: npmtsConfig = { + let defaultConfig: INpmtsConfig = { argv: undefined, coverageTreshold: 70, docs: true, @@ -32,7 +32,7 @@ export var run = function (argvArg) { // mix with configfile npmtsOra.text('looking for npmextra.json') - let config: npmtsConfig = plugins.npmextra.dataFor({ + let config: INpmtsConfig = plugins.npmextra.dataFor({ toolName: 'npmts', defaultSettings: defaultConfig, cwd: paths.cwd diff --git a/ts/npmts.plugins.ts b/ts/npmts.plugins.ts index edd0da1..0d809a7 100644 --- a/ts/npmts.plugins.ts +++ b/ts/npmts.plugins.ts @@ -10,7 +10,7 @@ export let g = { mocha: require('gulp-mocha'), sourcemaps: require('gulp-sourcemaps'), typedoc: require('gulp-typedoc') -}; +} export import lodashObject = require('lodash') export import npmextra = require('npmextra') export import projectinfo = require('projectinfo') diff --git a/ts/npmts.promisechain.ts b/ts/npmts.promisechain.ts index ae8429a..0136641 100644 --- a/ts/npmts.promisechain.ts +++ b/ts/npmts.promisechain.ts @@ -1,8 +1,8 @@ -import 'typings-global'; -import plugins = require('./npmts.plugins'); +import 'typings-global' +import plugins = require('./npmts.plugins') import {Ora} from 'beautylog' -export let npmtsOra = new Ora('setting up TaskChain','cyan'); +export let npmtsOra = new Ora('setting up TaskChain','cyan') import NpmtsAssets = require('./npmts.assets') import NpmtsCheck = require('./npmts.check') @@ -38,12 +38,12 @@ export let promisechain = function(argvArg){ ' wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww\n' + ' wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww\n' if (process.env.CI) { - console.log(shipString); + console.log(shipString) plugins.beautylog.success('READY TO SHIP!') } else { plugins.beautylog.success('Done!') } done.resolve() - }); + }) return done.promise -}; +}