Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jgunnison/genjsx

Node CLI React Component Generator
https://github.com/jgunnison/genjsx

cli jsx node react

Last synced: 11 days ago
JSON representation

Node CLI React Component Generator

Awesome Lists containing this project

README

        

##GenJSX - React Component Generator

This is a simple Node CLI tool that lets you generate react components simply through the command-line without needing to set up folders.

###Getting Started
`npm i -g genjsx`

Now navigate to your components folder and run the following command.

`genjsx`

This will now prompt you to create a component with a SCSS file and all.

Additionaly you may want to customize this to suit your needs for unit tests or additional component types the code is written with this. Just clone the repo and modify the `src/index.js` file to make additions. The symlink the directory globally with NPM.