Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

Properties

requiredForgeVersion: any
templateDir: string

Accessors

  • get devDependencies(): string[]

Methods

  • copy(source: string, target: string): Promise<void>
  • Parameters

    • source: string
    • target: string

    Returns Promise<void>

  • copyTemplateFile(destDir: string, basename: string): Promise<void>
  • Parameters

    • destDir: string
    • basename: string

    Returns Promise<void>

  • initializePackageJSON(directory: string): Promise<void>
  • Parameters

    • directory: string

    Returns Promise<void>

  • updateFileByLine(inputPath: string, lineHandler: (line: string) => string, outputPath?: string): Promise<void>
  • Parameters

    • inputPath: string
    • lineHandler: (line: string) => string
        • (line: string): string
        • Parameters

          • line: string

          Returns string

    • Optional outputPath: string

    Returns Promise<void>