1.2.5 • Published 7 years ago

boilerplate-for-react-components v1.2.5

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

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

1.2.5

7 years ago

1.2.4

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.1.2

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago