Skip to content

gliviu/generator-typescript-template

Repository files navigation

Minimal example of a yeoman generator written in typescript. It is intended to be used as a template for new generators.

See yeoman/yeoman#1734 for some background.

Getting started

npm install -g yo
git clone https://github.com/gliviu/generator-typescript-template
cd generator-typescript-template
npm install
npm run build

# Link the package to global scope so that yeoman discovers the new generator
npm link

yo --generators # check the generator is in place

yo typescript-template argument1 --option2 secondOption

# Check that ./dummyfile.txt was created according to above CLI arguments

npm run watch    # build generator as development goes

About

Typescript Yeoman generator template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published