npmextra/dist/npmextra.classes.npmextra.d.ts

30 lines
689 B
TypeScript
Raw Normal View History

2016-09-24 14:44:48 +00:00
/**
* Npmextra class allows easy configuration of tools
*/
export declare class Npmextra {
cwd: string;
lookupPath: string;
npmextraJsonExists: boolean;
2016-09-25 11:12:16 +00:00
npmextraJsonData: any;
2016-09-24 14:44:48 +00:00
/**
* creates instance of Npmextra
*/
constructor(cwdArg?: string);
/**
* merges the supplied options with the ones from npmextra.json
*/
2016-09-24 14:52:38 +00:00
dataFor<IToolConfig>(toolnameArg: string, defaultOptionsArg: any): IToolConfig;
2016-09-24 14:44:48 +00:00
/**
* checks if the JSON exists
*/
private checkNpmextraJsonExists();
/**
* gets lookupPath
*/
private checkLookupPath();
/**
* get npmextraJsonData
*/
private checkNpmextraJsonData();
}