An open API service indexing awesome lists of open source software.

https://github.com/echobind/hygen-cra-ts


https://github.com/echobind/hygen-cra-ts

Last synced: 4 months ago
JSON representation

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)