🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

ran-component-creator

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

ran-component-creator

[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](code_of_conduct.md) [![GitHub](https://img.shields.io/github/license/sly777/ran-component-creator)](https://github.com/sly777/ran-component-creator/blob/main/LIC

unpublished
latest
npmnpm
Version
1.0.15
Version published
Maintainers
1
Created
Source

Component Creator

Contributor Covenant GitHub GitHub commit activity GitHub last commit Reliability Rating Vulnerabilities Security Rating Maintainability Rating Lines of Code Known Vulnerabilities

Quality gate

Component Creator is a CLI tool that allows you to create React components quickly and easily. With Component Creator, you can focus on writing code instead of setting up boilerplate files.

Quick Start

To use Component Creator, simply run the following command:

npx component-creator

This will launch the CLI tool and guide you through the process of creating a new React component.

Features

  • Quick and Easy 🚀 - Component Creator allows you to create React components quickly and easily. With Component Creator, you can focus on writing code instead of setting up boilerplate files.
  • Clean DX ⭐ - Component Creator is designed to be as simple as possible. It doesn't require any configuration or setup, so you can start using it right away. It's built with TypeScript.
  • Customizable 🪄 - Component Creator is highly customizable. You can configure it to suit your needs and preferences.
  • Modular 🧩 - Component Creator is modular. You can use it with any React project (create-react-app, next.js, astro, ...etc.), regardless of its size or complexity. Also it's easy to extend Component Creator with new features.
  • No Installation Required 📦 - Component Creator doesn't require any installation. You can use it right away without having to install anything.

Table of Contents

Settings

There are two options for running component creator. Just simply run npx component-creator or You can also run Component Creator with .compcreator.json file. This file allows you to specify default options for Component Creator.

Here's an example of what the .compcreator.json file might look like:

{
  "plugins": [
    {
      "name": "general",
      "options": {
        "srcFolderLocation": "./src"
      }
    },
    "css",
    {
      "name": "reactJS",
      "options": {
        "createInterface": true,
        "styleLibrary": "chakraUI"
      }
    },
    "chakraUI"
  ]
}


This file sets the default options for Component Creator to avoid having to enter them every time you run the tool. And when you create a new component, Component Creator will create react component with Chakra UI and interface support on ./src folder.

After creating .compcreator.json file, you can run Component Creator with the following command:

npx component-creator

For more information on the available options, please check the options page.

Examples

For Examples, please check the examples folder. You can just copy JSON files from this folder and paste to root folder of your project. Then you can just run Component Creator.

NPM Scripts

For NPM Scripts, please check the npm scripts page. You can use Component Creator with npm scripts easily.

CLI Arguments

For CLI Arguments, please check the CLI arguments page.

How to create custom plugin

For creating custom plugin, please check the custom plugin page. You can create your own libraries' plugin easily with extensive functionally and Handlebars template engine.

Contributing

If you'd like to contribute to Component Creator, please check the contributing page. Contributions are always welcome! If you want to integrate your library/plugin/boilerplate to Component Creator, please check the how to create custom plugin page.

License

Distributed under the GPL-3.0 License. See LICENSE for more information.

FAQs

Package last updated on 10 Sep 2023

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