generator-try-typescript
v1.0.4
Published
Yeoman generator to scaffold an ephemeral playground for quickly experimenting TypeScript
Downloads
4
Maintainers
Readme
Requirements
This generator assumes you have these already setup:
How to Use
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.jsonand edit the editors field.
Install the generator:
npm install -g generator-try-typescriptRun below and answer questions one by one:
yo try-typescriptOr answer everything at once:
yo try-typescript --projectParentPath ~/try \
--projectName try_typescript \
--selectedEditorId vscodeHow to Develop
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 linkYou are now ready to scaffold from your local try-typescript generator:
yo try-typescriptSupport ♥️
If you like this project and it helped you, please consider supporting me on Patreon.
License
MIT
Credits
Author Sahand Javid · GitHub @webvv · Youtube webvv
