0.1.0 • Published 6 years ago

generator-react-tools v0.1.0

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

generator-react-tools

Yeoman generator for React.js and React Native components.

Usage

Install

npm install -g yo generator-react-tools

yo react-tools --help

Create React.js component

yo react-tools

Create React Native component

yo react-tools:native

Options

--dumb  // creates a component with no state
--camel // camelCases the file names

Features

Libraries, etc.

React Component Structure

└───component-name
  ├───component-name.css
  ├───component-name.js
  ├───component-name.test.js
  └───package.json

React Native Component Structure

└───component-name
  ├───component-name.js
  ├───component-name.test.js
  └───package.json