Fully customizable React boilerplate, using latest React
, webpack
and babel
version. It includes production build process + local development using webpack-dev-server
with hot reload.
git clone https://github.com/lakhansamani/react-minimal-boilerplate.git
- [Optional]
mv react-minimal-boilerplate PROJECT_NAME
cd react-minimal-ts-boilerplate
orcd PROJECT_NAME
yarn && yarn start
yarn build
- Production build will be part of
dist
folder
yarn test
- If you change content of
src/App.js
then you might have to change the test insrc/App.test.js
. Also similarly you can add test for more components.
cp .env.sample .env
- There is a sample env variable declared there, you can replace that and add more env variables.