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

0.2.2 • Public • Published

esbuild React CLI

oclif Version Downloads/week License

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

$ 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
...

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

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.

Readme

Keywords

Package Sidebar

Install

npm i esbuild-react

Weekly Downloads

1

Version

0.2.2

License

MIT

Unpacked Size

14.6 kB

Total Files

21

Last publish

Collaborators

  • hdong