0.2.2 • Published 3 years ago

esbuild-react v0.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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.