Before jumping into a PR be sure to search existing PRs or issues for an open or closed item that relates to your submission.
The development branch is main
. This is the branch that all pull requests should be made against.
To develop locally:
-
Fork this repository to your own GitHub account and then clone it to your local device.
git clone https://github.com/lost-pixel/lost-pixel.git
-
Create a new branch:
git checkout -b MY_BRANCH_NAME
-
Install the dependencies with:
npm install
-
Build storybook to execute lost-pixel against
npm run build-example-storybook
-
Start developing and execute the action against the local static build of storybook:
npm run dev
Lost Pixel is committed to testing the core flows of the application, so if you are contributing to those we highly encourage you to add test coverage as well.
To run test locally:
npm run test
To check the formatting of your code:
npm run lint
When you are satisfied with your work open a PR against the main
branch and somebody from project maintainers will help you review & merge it!