Requirements • How to Use • How to Develop • Support • License • Credits
This generator assumes you have these already setup:
Note: The idea behind this generator is to simply open a terminal in any directory, and run
yo try-typescript
. It immediately opens a playground in your favorite editor.
Can't see your favorite editor? Open the configuration file located at
~/.yo-rc.try-typescript.json
and edit the editors field.
Install the generator:
npm install -g generator-try-typescript
Run below and answer questions one by one:
yo try-typescript
Or answer everything at once:
yo try-typescript --projectParentPath ~/try \
--projectName try_typescript \
--selectedEditorId vscode
Note: You can reset the config file by running
yo try-typescript:reset
.
Clone and link the project:
git clone https://github.com/webvv/generator-try-typescript.git
cd generator-try-typescript
npm install
npm link
You are now ready to scaffold from your local try-typescript generator:
yo try-typescript
If you like this project and it helped you, please consider supporting me on Patreon.
MIT
Author Sahand Javid · GitHub @webvv · Youtube webvv