cli-components / build
Small set of tools for Makefiles/Gulpfiles/etc.
installing
$ npm install cli-components-build --save
using
In lieu of a README, here's the .d.ts
file, verbatim:
declare module 'cli-components-build' {
export = CliComponentsBuildModule;
}
declare module CliComponentsBuildModule
{
export interface ExecOutputReturnValue {
code: number;
output: string;
}
export interface TSConfigDictionary {
[name: string]: any;
}
export interface GroupFiletypesResult {
grouped: {
[name: string]: string[];
};
rest: string[];
}
export function mtime(filepath: string): number;
export function prettyExecResult(result: ExecOutputReturnValue): string;
export var tsconfig: (assign?: {}, filepath?: string) => TSConfigDictionary;
export function groupFiletypes(files: string[], extensions: string[]): GroupFiletypesResult;
export function isUnminifiedJS(file: string): boolean;
export interface TSifyCompileError {
message: string;
fileName: string;
line: number;
column: number;
name: string;
}
export function prettyTSifyCompileError(err: TSifyCompileError): string;
export function header(text: any): string;
}
authors/contributors