UNPKG

@iceworks/generate-material

Version:

Generate material collection or single component

26 lines (25 loc) 692 B
export interface ITemplateOptions { npmName: string; name?: string; kebabCaseName?: string; npmScope?: string; title?: string; description?: string; className?: string; version?: string; category?: string; projectTargets?: string[]; miniappComponentBuildType?: 'runtime' | 'compile'; miniappPluginBuildType?: 'runtime' | 'compile'; isAliInternal?: boolean; author?: string; } export interface IOptions { rootDir: string; materialTemplateDir: string; templateOptions: ITemplateOptions; enablePegasus?: boolean; enableDefPublish?: boolean; builder?: string; materialType: 'component' | 'block' | 'scaffold'; }