summon-components
node index.js <component_type> <path/Component>
<component_type>: atoms,molecules,organisoms,templates
(will be used for directory and in the stories file)
<path/ComponentName>:
defines the and to use
(use the if you want to create the component inside of another)
The tool will create a directory path to:
src/components/<component_type>/<path>/<ComponentName>
,
there it will create following files with bootstrapped content
index.js
.test.js
.stories.js
.scss
example usage
node index.js molecules IconWithText/RoundIcon
(create the component-folder and files inside the molecules/IconWithText directory)