0.3.3 • Published 4 years ago

partum-react v0.3.3

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

(WIP)

An Angular-esque cli for React.

  • component generation with states
  • supports redux
  • supports sass
  • includes react-scripts

Installation

npm install -g partum-react

Quick Start

Can be pulled up using partum -h or partum --help.

Commands:
        -a, --action:     Create a new action in a redux enabled project. 
        -c, --component:  Create a new react component.
        -d, --docs:       Opens documentation(https://luchighwalker.github.io/partum-react/#/).
        -h, --help:       Displays this help message.
        -i, --init:       Initializes partum in a current react project directory.
        -v, --version:    Displays the current installed version of partum-react.

Usage:
 $ partum [project name]
 Creates a new react project with options (default):
          redux (false): Enables redux support.
          js (false): Uses the js file format instead of jsx.
          scss || sass (css): Uses scss or sass for stylesheets respectively.

 $ partum -c [component name] [state key]=[state value]
 Generates a new react component with options (default):
          -f, --func, --functional (false): Generates a functional component instead of a class component.
          [state key]=[state value]: Optional, adds states to the component.

 $ partum -a [action name] [action file] [reducer file]
 Generates a new action with the options (default):
          [action file] (action.js): Specifies which action folder to add the action.
          [reducer file] (reducer.js): Specifies which reducer file to add the action dispatch to.

Usage

Reference the docs

0.3.3

4 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago