1.3.3 • Published 2 years ago

generate-react-component-cli v1.3.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Quickly create a react component with command line

🏠 Homepage

Install

npm i -g generate-react-component-cli

Usage

grccli

After typing "grccli" the language selection will be displayed(the language selection is one-time only) after that the application only asks you what you want the componoent to be called and where you want it to be located. After that the component will be created!

It will generate (E.g for component name task-item and path src/features): Folder: src/features/task-item File: src/features/task/task-item.tsx File: src/features/task/use-task-item.ts (or Task.hook.ts, it depends if folder and file name is kebab case or no) File: src/features/task/task-item.test.tsx File: src/features/task/index.ts

This is really easy to edit, 3 files helpers.js - helpers functions contents.js - contents files cli.js - application

Author

👤 Stanisław Sztrajt

🤝 Contributing

Contributions, issues and feature requests are welcome!Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2022 Stanisław Sztrajt. This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago