# lm-fend-react-cli

> File Generator

Latest version **1.0.6** (published 2017-11-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install lm-fend-react-cli
pnpm add lm-fend-react-cli
yarn add lm-fend-react-cli
bun add lm-fend-react-cli
```

Provides the command `lm-fend`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2017-11-16 |
| First published | 2017-11-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Daisy Macharia |
| Maintainers | daisymacharia |
| Keywords | react, cli-tool |

## Links

- npm: https://www.npmjs.com/package/lm-fend-react-cli
- Repository: https://github.com/andela/learning-map-fend-cli
- Homepage: https://github.com/andela/learning-map-fend-cli#readme
- Issues: https://github.com/andela/learning-map-fend-cli/issues
- npm.io page: https://npm.io/package/lm-fend-react-cli

## Dependencies (7)

- [chalk](https://npm.io/package/chalk.md) ^2.3.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^4.0.2
- [babel-cli](https://npm.io/package/babel-cli.md) ^6.26.0
- [commander](https://npm.io/package/commander.md) ^2.11.0
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.0.0-beta.32
- [@babel/node](https://npm.io/package/@babel/node.md) ^7.0.0-beta.32
- [babel-register](https://npm.io/package/babel-register.md) ^6.26.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.6 (latest) — 2017-11-16
- 1.0.5 — 2017-11-15
- 1.0.4 — 2017-11-15
- 1.0.3 — 2017-11-14
- 1.0.2 — 2017-11-14
- 1.0.1 — 2017-11-14
- 1.0.0 — 2017-11-14

## README

## Learning Map Front End CLI
CLI tool for React applications

<!-- Badges section here. -->

## Prerequisites

The CLI has dependencies that require the latest version of Node.  

## Table of Contents

* [Installation](##installation)
* [Usage](##usage)
* [Generating Components, Actions, Reducers, Fixtures and Interfaces](##generating-components,-actions,-reducers,-fixtures-and-interfaces)
* [Note](##note)

## Installation
**BEFORE YOU INSTALL:** please read the [prerequisites](#Prerequisites)
```
npm install -g lm-fend-react-cli
```
## Usage
```
lm-fend help
```

## Generating Components, Actions, Reducers, Fixtures and Interfaces

You can use the `lm-fend create` (or just `lm-fend c`) command to generate react files:

```
lm-fend create component new-component
lm-fend c component new-component
```

You can find all possible blueprints in the table below:

File type  | Usage
---       | ---
Stateful Component | `lm-fend create component new-component` OR `lm-fend create component new-component --mode=stateful`
Functional Component | `lm-fend create component new-component --mode=functional`
Action | `lm-fend create action new-action`
Reducer           | `lm-fend create reducer new-reducer`
Interface    | `lm-fend create interface new-interface`
Fixtures        | `lm-fend create fixtures new-fixtures`

## Note:
- components are generated in the path `src/components`.
- actions are generated in the path `src/actions`.
- reducers are generated in the path `src/reducers`.
- fixtures are generated in the path `src/fixtures`.
- interfaces are generated in the path `src/interfaces`.

---
_Source: https://npm.io/package/lm-fend-react-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
