- clone this repo
git clone git@github.com:YongYuH/ts-react-esbuild-boilerplate.git- install dependencies
yarn- install husky
yarn prepare- build production code with
esbuild@0.12.15(client side rendering) - rebuild development code and reload with
esbuild@0.12.15watchandbrowser-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.0andhusky@7.0.1 - develop front-end source code with
react@17.0.2andtypescript@4.3.5