https://github.com/echobind/hygen-cra-ts
https://github.com/echobind/hygen-cra-ts
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/echobind/hygen-cra-ts
- Owner: echobind
- Created: 2018-10-18T18:27:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-18T18:30:41.000Z (over 7 years ago)
- Last Synced: 2025-10-20T04:23:52.174Z (8 months ago)
- Language: Perl 6
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hygen-cra-ts
This contains the following generators for a [React](https://reactjs.org/) application built w/ [Create React App](https://github.com/facebook/create-react-app) using [TypeScript](https://www.typescriptlang.org/):
- ✅ component (generates component, story, index, and style files)
- ✅ util (generates util, index, and test files)
## How To
### Add to an existing project
#### Install Dependencies
##### hygen
```
npm i -g hygen
```
##### hygen-add
```
npm i -g hygen-add
```
## Usage
```
hygen-add https://github.com/echobind/hygen-cra-ts
```
This will copy the templates in to your project. Edit as needed or remove generators that don't fit your project!
## References
[Hygen Quick Start](https://github.com/jondot/hygen#quick-start)
[Hygen-add Quick Start](https://github.com/jondot/hygen-add#quick-start)