0.1.0 ⢠Published 5 years ago
create-my-awesome v0.1.0
create-my-awesome
This project is my hello world to gluegun
Table of Contents
About
This CLI allow you to create a simple typescript react component using the command line. Learn more on commands
Prerequisites
- node ^12.14.1
- npm ^6.13.4
Usage
Creating a typescript react component named Text:
With yarn:
yarn create my-awesome component TextWith npm:
npm init my-awesome component TextIt will generate the component inside src/components/Text/index.tsx based on your current directory.
Learn more on commands.
Running the source code locally
Install
yarn installRun tests
yarn run testTry it locally
yarn link
create-my-awesome component TestModify the code, build new commands, then execute it. Example:
create-my-awesome command params --flagsAuthor
š¤ Lucas Miranda
- Website: https://lucas-lm.github.io
- Twitter: @__lucas_lm
- Github: @lucas-lm
- LinkedIn: @lucas-lm
0.1.0
5 years ago