Skip to content

Latest commit

 

History

History
84 lines (55 loc) · 1.74 KB

CONTRIBUTING.md

File metadata and controls

84 lines (55 loc) · 1.74 KB

Contributing

Contributions are always welcome, no matter how large or small.

Working on your first Pull Request? You can learn how from this free series How to Contribute to an Open Source Project on GitHub

Project setup

First, fork and then clone the caravan repository:

git clone https://github.com/your-username/caravan
cd caravan
git remote add upstream https://github.com/unchained-capital/caravan

Install dependencies:

npm install

Starting caravan locally (this will open caravan in your default browser):

npm run start

Creating Pull Requests

  1. Create a branch:
git checkout -b my-branch
  1. Happy Hacking 🎉: Author your awesome code changes.

  2. Ensure your changes pass linting and testing:

To test:

npm test

To lint your changes:

npm run lint
  1. Commit your changes:

caravan uses commitizen to create commit messages so it can automatically create semantic releases.

git add .
npm run commit
# answer the questions
  1. Push your changes:
git push origin my-branch
  1. Open this project on GitHub, then click “Compare & pull request”.

Releasing Caravan

Caravan is released to Unchained Capital's GitHub Pages (https://unchained-capital.github.io/) by using the following:

npm run release
git push --follow-tags origin master
npm run gh-pages

Help needed

Please checkout the open issues for ideas of things to work on.

Also, please watch the repo and respond to questions/bug reports/feature requests, Thanks!