Socket
Book a DemoInstallSign in
Socket

@lukesheard/esbuild-scripts

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lukesheard/esbuild-scripts

Create Esbuild App / esbuild-scripts 🔥

latest
Source
npmnpm
Version
5.0.0
Version published
Maintainers
1
Created
Source

Create Esbuild App / esbuild-scripts 🔥

An extremely fast create-react-app replacement.

Build

What is it?

create-esbuild-app is a wrapper around create-react-app while esbuild-scripts is a react-scripts compatible CLI which can be dropped in as a replacement. They use the toolchain and development experience already provided by the Create React App ecosystem but provide an faster experience by abstracting esbuild as a bundler and using native esbuild plugins for speed.

esbuild-scripts in most cases should be a drop in replacement for react-scripts.

Creating an App

yarn create @lukesheard/esbuild-app my-app
cd my-app
yarn start

If you've previously installed create-esbuild-app globally you can run yarn global remove create-esbuild-app to remove it - this will ensure that you always use the latest version when creating a new app.

Note: The API of create-esbuild-app mirrors that of create-react-app but will default the template of a new app to TypeScript. However if you want to use a custom template you can do so by supplying a --template argument like so

yarn create @lukesheard/esbuild-app my-app --template my-template

Supplying an empty template will default to the JavaScript template from create-react-app. This is because in most instances I've noticed users default to this template anyway - so I wanted to abstract this in a way which made it simple to pick convetional defaults.

For more documentation on creating an App refer to the Create React App documentation.

FAQs

Package last updated on 27 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts