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-minial-boilerplateorcd PROJECT_NAME
yarn && yarn start
yarn build- Production build will be part of
distfolder
yarn test- If you change content of
src/App.jsthen you might have to change the test insrc/App.test.js. Also similary 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.