This sample repo illustrates the use of Lerna and Parcel to scaffold a simple React project. This example is assuming a backend using Serverless to deploy the built application to an S3 static site and delivered through a CloudFront distribution.
Clone repo:
git clone https://github.com/DanielCender/example-react-monorepo.git
cd to root:
cd example-react-monorepo
Or cd into frontend:
cd example-react-monorepo/packages/frontend
Yarn:
yarn dev
NPM:
npm run dev
Yarn:
yarn build
or npm run build
Find output in the dist/
folder.
TODO: What things you need to install the software and how to install them
Give examples
TODO: Once I've sorted it out, yarn test
will run all preliminary tests.
TODO: Will be using husky to implement git hooks.
TODO: Add additional notes about how to deploy this on a live system
- Lerna - Tool for managing multiple JS packages
- Serverless - Serverless service configuration and deployment tool
- React - Front-end Framework
TODO: Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the MIT License - see the LICENSE.md file for details