Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gliviu/generator-typescript-template
Typescript Yeoman generator template
https://github.com/gliviu/generator-typescript-template
Last synced: 3 months ago
JSON representation
Typescript Yeoman generator template
- Host: GitHub
- URL: https://github.com/gliviu/generator-typescript-template
- Owner: gliviu
- License: mit
- Created: 2021-01-09T22:32:13.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-10T00:22:21.000Z (almost 4 years ago)
- Last Synced: 2024-04-27T19:32:50.732Z (7 months ago)
- Language: TypeScript
- Size: 60.5 KB
- Stars: 18
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Minimal example of a [yeoman](https://yeoman.io/) generator written in typescript.
It is intended to be used as a template for new generators.See https://github.com/yeoman/yeoman/issues/1734 for some background.
**Getting started**
```bash
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 linkyo --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
```