# esbuild-react

> [![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io) [![Version](https://img.shields.io/npm/v/esbuild-react.svg)](https://npmjs.org/package/esbuild-react) [![Downloads/week](https://img.shields.io/npm/dw/esbuild-react.svg)]

Latest version **0.2.2** (published 2021-09-04) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install esbuild-react
pnpm add esbuild-react
yarn add esbuild-react
bun add esbuild-react
```

Provides the command `esbuild-react`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2021-09-04 |
| First published | 2021-09-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=8.0.0 |
| Dependencies | 5 |
| Unpacked size | 14.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Hao Dong @h-dong |
| Maintainers | hdong |
| Keywords | oclif |

## Links

- npm: https://www.npmjs.com/package/esbuild-react
- Repository: https://github.com/h-dong/esbuild-react
- Issues: https://github.com/h-dong/esbuild-react/issues
- npm.io page: https://npm.io/package/esbuild-react

## Dependencies (5)

- [tslib](https://npm.io/package/tslib.md) ^1.14.1
- [inquirer](https://npm.io/package/inquirer.md) ^8.1.2
- [@oclif/config](https://npm.io/package/@oclif/config.md) ^1.17.0
- [@oclif/command](https://npm.io/package/@oclif/command.md) ^1.8.0
- [@oclif/plugin-help](https://npm.io/package/@oclif/plugin-help.md) ^3.2.3

## Recent versions

- 0.2.2 (latest) — 2021-09-04
- 0.2.1 — 2021-09-04
- 0.2.0 — 2021-09-04
- 0.1.0 — 2021-09-04

## README

# esbuild React CLI

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/esbuild-react.svg)](https://npmjs.org/package/esbuild-react)
[![Downloads/week](https://img.shields.io/npm/dw/esbuild-react.svg)](https://npmjs.org/package/esbuild-react)
[![License](https://img.shields.io/npm/l/esbuild-react.svg)](https://github.com/h-dong/esbuild-react/blob/master/package.json)

<!-- toc -->
* [esbuild React CLI](#esbuild-react-cli)
<!-- tocstop -->

## Description

Quickly spin up barebones React project which compiles with esbuild for maximum speed. With optional choice of language (TypeScript or JavaScript) and package manager (NPM or Yarn).

## Usage

![Demo video](./assets/demo.gif)

<!-- usage -->
```sh-session
$ npm install -g esbuild-react
$ esbuild-react COMMAND
running command...
$ esbuild-react (-v|--version|version)
esbuild-react/0.2.2 darwin-x64 node-v14.17.1
$ esbuild-react --help [COMMAND]
USAGE
  $ esbuild-react COMMAND
...
```
<!-- usagestop -->

### Flags

- _language_ - pass language choice e.g. `npx esbuild-react demo -l=javascript`
- _package manager_ - pass package manager choice e.g. `npx esbuild-react demo -p=yarn`

<!-- commands -->

<!-- commandsstop -->

## Development

1. Clone this repo
2. Run `npm i` to install all dependencies
3. Run `./bin/run FOLDER_NAME` to try out locally build CLI

### Publish

```
$ npm version (major|minor|patch) # bumps version, updates README, adds git tag
$ npm publish
```

## Credits

Inspired by [this article](https://dev.to/ibmdeveloper/react-typescript-app-with-esbuild-1bmo).

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