gulpclass
Version:
Make a beautiful class-based gulpfiles with Typescript and Gulpfile.ts
30 lines (29 loc) • 610 B
TypeScript
/**
* Metadata of the Task annotation.
*/
export interface TaskMetadata {
/**
* Object that is called by this task.
*/
classConstructor: Function;
/**
* Method called by this class.
*/
method: string;
/**
* Task name.
*/
name: string;
/**
* Task dependencies
*/
dependencies: string[];
/**
* Indicates if this task will be run using run-sequence component.
*/
isSequence?: boolean;
/**
* Indicates if this task will be run using merge2 component.
*/
isMerge?: boolean;
}