Contributing
Developers like you can help by contributing to documentation, issuing pull requests to help us cover new use cases, and to help move front-end development forward.
How Can I Help?β
Anybody can help by doing any of the following:
- Try LeanJS in projects
- Help us write and maintain the content on this site
- Contribute to the LeanJS repository
Setupβ
Before you can contribute to the codebase, you will need to fork the repo. New features and bug-fixes of any packages should be branched off of and merged into the main
branch.
The following steps will get you setup to contribute changes to this repo:
Fork the repo
Clone your fork locally
# in a terminal, cd to parent directory where you want your clone to be, then
git clone https://github.com/<your_github_username>/leanjs.git
cd leanjsInstall dependencies by running
yarn
. LeanJS uses [Yarn (version 1)][yarn-version-1], so you should too. If you install usingnpm
, unnecessarypackage-lock.json
files will be generatedyarn
Verify you've got everything set up for local development by running the test suite, you have to build the project first
yarn build
yarn test