This package has been deprecated

Author message:

This package has been migrated to `@manuth/generator-ts-project`

generator-ts-generator

1.4.7 • Public • Published

TSGeneratorGenerator

A Generator for Yeoman Generators Written in TypeScript

Usage

Install TSGeneratorGenerator

You can install TSGeneratorGenerator using the following command:

npm install -g yo generator-ts-generator

Generate a Generator Written in TypeScript

You can create a generator written in TypeScript using this command:

yo ts-generator

It is recommended to use an intelligent code-editor which is meant to be used with TypeScript (like, for example VSCode or Atom).
Please make sure to tick the Example Generator-box to generate a nice example for you to see the best practices for authoring generators.

Generator Output

  • A basic folder-structure for keeping TypeScript-code and JavaScript-builds separate
  • Linting-rules (optional)
    • Either weak rules...
    • ...or strong rules
  • A node-package with required dependencies
  • Mocha test-environment
  • NPM-Scripts for...
    • Compiling the TypeScript-code
    • Cleaning compiled TypeScript-code
    • Linting the package
    • Testing the package using Mocha
  • Visual Studio Code workspace (optional)
    • Settings
    • Task for building the generator (by pressing CTRL, SHIFT + B)
    • Task for linting the generator
    • Debug-settings
  • Generator-Examples (optional)
    You may want to create some generator-examples.
    These will help you to learn more about the capabilities of the object-oriented implementation of the Yeoman-Generator.

Dependencies (10)

Dev Dependencies (19)

Package Sidebar

Install

npm i generator-ts-generator

Weekly Downloads

11

Version

1.4.7

License

MIT

Unpacked Size

107 kB

Total Files

46

Last publish

Collaborators

  • lordgizmo