generator-react-tools

0.1.0 • Public • Published

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

Package Sidebar

Install

npm i generator-react-tools

Weekly Downloads

1

Version

0.1.0

License

ISC

Unpacked Size

10.4 kB

Total Files

14

Last publish

Collaborators

  • asteinheiser