boilerplate-for-react-components

1.2.5 • Public • Published

content-type

Create a Boilerplate for a ReactComponent with following details:

Installation

Create a command in your scripts in the way : "scripts": { "create":"create ./src/components", // specify the path to which the component should be created. },

and now run : npm run create "COMPONENT NAME";

Creates following: component js file , component css file, component unit test file

for story book: generate a __storybook folder with index.js referencing the component

Throws a Error when specified name already exists.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i boilerplate-for-react-components

Weekly Downloads

0

Version

1.2.5

License

MIT

Last publish

Collaborators

  • rajendrakumarv