coil-react-cli
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Coil-React-Cli

A Command line interface for module generation for React Framework -- Coil React

Installation & Usage

$ yarn global add coil-react-cli
or
$ npm install -G coil-react-cli

There are two ways to use this library

1: Add Script to package.json (Recommended)

// Package.json
{
    "scripts": {
        "module": "coil-react"
    }
}

Then in your terminal:

$ yarn module your/module
or
$ npm run module your/module

The reason why this is recommended is because coil-react-cli will look for the src folder in your current directory, if we set the script in package.json, we can ensure that every time we run yarn module, the path it resolves is always correct.

2: Run the command in terminal

$ coil-react your/module

/coil-react-cli/

    Package Sidebar

    Install

    npm i coil-react-cli

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    27.8 kB

    Total Files

    32

    Last publish

    Collaborators

    • jamyth