Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@verkstedt/summon-components

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@verkstedt/summon-components

generates react components (incl storybook, test and scss file)

Source
npmnpm
Version
1.0.6
Version published
Weekly downloads
2
100%
Maintainers
2
Weekly downloads
 
Created
Source

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)

FAQs

Package last updated on 06 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts