tsdocker/ts/npmdocker.config.ts
2016-07-19 19:21:06 +02:00

22 lines
488 B
TypeScript

import * as plugins from "./npmdocker.plugins";
import * as paths from "./npmdocker.paths";
export interface IConfig {
baseImage:string;
command:string;
exitCode?:number
}
let config:IConfig = plugins.npmextra.dataFor({
toolName:"npmdocker",
defaultSettings: {
baseImage:"hosttoday/ht-docker-node:npmts",
command:"npm test"
}
});
export let run = () => {
let done = plugins.q.defer();
done.resolve(config);
return done.promise;
}