2017-06-15 23:42:48 +00:00
|
|
|
/**
|
|
|
|
* specifies the different modes available
|
|
|
|
* default -> uses default options no matterm what
|
|
|
|
* merge -> uses merged default + custom options
|
|
|
|
* custom -> only uses specified options
|
|
|
|
*/
|
|
|
|
export declare type npmtsMode = 'default' | 'custom' | 'merge';
|
2016-09-06 15:33:28 +00:00
|
|
|
export interface INpmtsConfig {
|
2016-08-19 07:46:36 +00:00
|
|
|
argv: any;
|
2017-06-16 14:08:36 +00:00
|
|
|
coverage: boolean;
|
2016-08-19 07:46:36 +00:00
|
|
|
coverageTreshold: number;
|
2017-06-15 23:42:48 +00:00
|
|
|
checkDependencies: boolean;
|
2016-08-19 07:46:36 +00:00
|
|
|
mode: npmtsMode;
|
|
|
|
test: boolean;
|
|
|
|
testTs: any;
|
|
|
|
ts: any;
|
|
|
|
tsOptions: any;
|
2016-09-22 21:23:16 +00:00
|
|
|
watch: boolean;
|
2017-03-31 17:18:18 +00:00
|
|
|
runData: {
|
|
|
|
coverageLcovInfo?: string;
|
|
|
|
coverageResult?: number;
|
|
|
|
};
|
2016-08-19 07:46:36 +00:00
|
|
|
}
|
2017-01-17 23:58:09 +00:00
|
|
|
export declare let run: (argvArg: any) => Promise<{}>;
|