# generator-redux-logic

> Yeoman generator to scaffold redux-logic projects

Latest version **0.1.23-i** (published 2019-11-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install generator-redux-logic
pnpm add generator-redux-logic
yarn add generator-redux-logic
bun add generator-redux-logic
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.23-i |
| Published | 2019-11-02 |
| First published | 2019-11-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 37 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Arjun Ray |
| Maintainers | deconstructionalism |
| Keywords | yeoman-generator |

## Links

- npm: https://www.npmjs.com/package/generator-redux-logic
- Repository: https://github.com/deconstructionalism/generator-redux-logic
- Homepage: https://github.com/deconstructionalism/generator-redux-logic#readme
- Issues: https://github.com/deconstructionalism/generator-redux-logic/issues
- npm.io page: https://npm.io/package/generator-redux-logic

## Dependencies (8)

- [eslint](https://npm.io/package/eslint.md) ^6.0.1
- [ast-query](https://npm.io/package/ast-query.md) ^2.0.0
- [gulp-eslint](https://npm.io/package/gulp-eslint.md) ^6.0.0
- [jscodeshift](https://npm.io/package/jscodeshift.md) ^0.6.4
- [babel-eslint](https://npm.io/package/babel-eslint.md) ^10.0.3
- [yeoman-generator](https://npm.io/package/yeoman-generator.md) ^1.0.0
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.16.0
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.18.2

## Recent versions

- 0.1.23-i (latest) — 2019-11-02
- 0.1.23-h — 2019-11-02
- 0.1.23-g — 2019-11-02
- 0.1.23-f — 2019-11-02
- 0.1.22-e — 2019-11-02
- 0.1.22-d — 2019-11-02
- 0.1.22-c — 2019-11-02
- 0.1.22-b — 2019-11-02
- 0.1.22-a — 2019-11-02
- 0.1.22 — 2019-11-02
- 0.1.21 — 2019-11-02
- 0.1.11 — 2019-11-02
- 0.1.2 — 2019-11-02
- 0.1.1 — 2019-11-01
- 0.1.0 — 2019-11-01

## README

# Yeoman Generator for Redux Logic Projects

This generator can be used with (Yeoman)[] to create and scaffold objects for
projects using `react`, `redux`, and `redux-logic`. The generator will also
create generic tests.

This generator uses the `react-scripts` package from `create-react-app`, ie all
`create-react-app` commands and expectations apply here. See [here](https://create-react-app.dev/docs/available-scripts) for details.

The following packages are installed when using the scaffold to instantiate
a project:

- axios
- lodash
- react
- react-dom
- react-redux
- react-scripts
- redux
- redux-logic
- prop-types
- enzyme
- redux-logic-test

## Dependencies

- `node` (_tested on v9.11.1_)

## Installation

Install Yeoman and the generator:

`npm install -g yo generator-redux-logic`

## Usage

### Create a new project

```sh
yo generator-redux-logic <project name>`
```

Example:

```sh
yo generator-redux-logic my-project
```

### Scaffold objects on an existing project

> Only works in a project folder that already follows the logic and file pattern
of a project generated by this generator

#### Create a reducer and generic actions

```sh
yo generator-redux-logic:reducer <camelCaseReducerName>
```

Example:

```sh
yo generator-redux-logic:reducer monkeyMen
```

#### Create an asynchronous reducer, generic actions, and generic logics

```sh
yo generator-redux-logic:reducer <camelCaseReducerName> -a
```

Example:

```sh
yo generator-redux-logic:reducer spaceMonkeyMen -a
```

---
_Source: https://npm.io/package/generator-redux-logic · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
