2016-09-23 20:13:06 +00:00
|
|
|
/**
|
|
|
|
* the main interface npmextra functions work with
|
|
|
|
*/
|
2016-07-17 14:34:31 +00:00
|
|
|
export interface IDataFor {
|
|
|
|
toolName: string;
|
|
|
|
defaultSettings?: any;
|
|
|
|
cwd?: string;
|
|
|
|
}
|
2016-09-16 20:28:38 +00:00
|
|
|
/**
|
|
|
|
* gets you the configuration data for
|
|
|
|
* @executes SYNC
|
|
|
|
*/
|
|
|
|
export declare let dataFor: <IOptions>(optionsArg: IDataFor) => IOptions;
|
2016-09-23 20:13:06 +00:00
|
|
|
export declare let dataForExists: (optionsArg: IDataFor) => boolean;
|
2016-09-16 20:28:38 +00:00
|
|
|
/**
|
|
|
|
* tells you if a configfile is present
|
|
|
|
*/
|
2016-09-23 20:13:06 +00:00
|
|
|
export declare let configFilePresent: (cwdArg: string) => boolean;
|