Socket
Book a DemoInstallSign in
Socket

@medly/create-component

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medly/create-component

An application for generating react component

0.7.3
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

⚛️ Create React component

An application for generating simple react component.

Getting started

Package ManagerCommand
NPMnpm init @medly/component
Yarnyarn create @medly/component
PNPMpnpx @medly/create-component

Then follow the prompts or you can run command yarn create @medly/component <project-name> [options] with below options.

Options

FlagsDescriptionChoicesDefault
-V, --versionoutput the version number
-o, --org <org>name of the organization
-r, --registry <registry>registry to publish the modulenpm, githubnpm
-p, --package-manager <package-manager>package managernpm, yarn, pnpmyarn
-a, --access <access>access level of the componentpublic, restrictedpublic
-i, --interactiveshow interactive questionnaire
-h, --helpdisplay help for command

Features

It sets up below things:

  • storybook for documentation.
  • babel to transpile the code.
  • rollup to bundle the code.
  • jest to write unit tests.
  • prettier to automatically format the code.
  • eslint to catch the error.
  • @medly-components with theme.
  • commitizen & commitlint to optimize your commit message.
  • github workflow to automatically publish the package on PR merge`.
  • github workflow to automatically publish the documentation on github pages on PR merge`.
  • semantic-release to bump the version and update the CHANGELOG.

Keywords

Medly

FAQs

Package last updated on 17 Nov 2021

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.