New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-create-library

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-create-library

CLI tools to generate boilerplate to create component based library

  • 1.0.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

react-create-library

Command Line tool to generate boilerplate for your react library.

Create React Library with no build configuration.

react-create-library

Features

  • User friendly CLI Interface
  • Handles all modern JS features
  • Bundles cjs, esnext, umd and es module formats
  • Support for TypeScript and flow type System
  • Support for documentation library like docz, storybook and react-styleguidist
  • Support for different styling like css, less, scss, emotion and styled-component
  • Standard-version for manage versioning and CHANGELOG generation
  • Prettier, Eslint & Stylelint added to maintain the code quality & readability.
  • Rollup for bundling & sourcemap generation
  • Babel for transpiling
  • Jest for testing
  • Working example setup using create-react-app

Install globally

This package requires node >= 8.

npm install -g react-create-library

Usage

react-create-library my-library

Using npx

npx react-create-library my-library

Interactive CLI, answer few questions and choose modules required for development.

CLI Options

Usage: react-create-library <package-name> [Options]

Options:
  -V, --version          output the version number
  --verbose              print additional logs
  --pm <value>           Package Manager (npm or yarn)
  --type <value>         Type System for project one of default,typescript,flow (default: "none")
  --doc <value>          Documentation Library one of none,docz,storybook,react-styleguidist (default: "docz")
  --style <value>        Styling Library one of inline,css,less,scss,emotion,styled-component (default: "inline")
  -l, --license <value>  License of Project (default: "MIT")
  -s, --skip             Skip all question and create project with defaults
  -h, --help             output usage information


Node version require >= 8 & npm >= 5

If something doesn’t work, please file an issue

Keywords

FAQs

Package last updated on 10 Sep 2020

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc