/ts-react-esbuild-boilerplate

quickly dive into react development with blazing fast esbuild.

Primary LanguageTypeScriptMIT LicenseMIT

How to use this boilerplate

  1. clone this repo
git clone git@github.com:YongYuH/ts-react-esbuild-boilerplate.git
  1. install dependencies
yarn
  1. install husky
yarn prepare

What does this boilerplate contain

  • build production code with esbuild@0.12.15 (client side rendering)
  • rebuild development code and reload with esbuild@0.12.15 watch and browser-sync@2.27.4
  • run development and production server with fastify@3.19.1
  • serve static files with fastify-static@4.2.2
  • unify coding style with eslint@7.31.0 and husky@7.0.1
  • develop front-end source code with react@17.0.2 and typescript@4.3.5

License

MIT