JamesPlayer / generator-simple-react-component

Yo! Create functional or class React component with Yeoman.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm version Dependencies status Dev dependencies status XO code style
GitHub license

Generator Simple React Component

Create boilerplate for functional or class React component. In addition you will get first snapshot test for free!

Instalation

$ npm i -g generator-simple-react-component

Usage

Important! The generator assumes that you run it in directory where you store all of your other React components.

$ cd /your/react/app
$ yo simple-react-component

Notes

If you want to use the generator in react native project thenyou have to change an extension of generated.jsxfiles to.js` because the packager doesn't support .jsx files.

About

Yo! Create functional or class React component with Yeoman.

License:MIT License


Languages

Language:JavaScript 100.0%