UNPKG

@captive/plop-config

Version:
42 lines (41 loc) 858 B
import type { NodePlopAPI } from 'plop'; export interface PlopPluginOptions { /** * StyleSheet language */ styleSheet?: 'css' | 'scss'; /** * Project paths */ path?: { /** * package.json path */ package?: string; /** * Components (vue, react, etc) */ component?: string; /** * Store modules (pinia, redux, etc) */ store?: string; /** * Documentation */ docs?: string; }; /** * Enable VueJS generators */ vue?: boolean; /** * Enable React generators */ react?: boolean; /** * Test framework used */ test?: 'jest' | 'vitest'; } export declare function plopPlugin(options: PlopPluginOptions): (plop: NodePlopAPI) => Promise<void>;