Contributing
Get involved#
There are many ways to contribute to Paintablejs, and many of them do not involve writing any code. Here's a few ideas to get started:
- Start using Paintablejs! Go through the Getting Started guide. Does everything work as expected? If not, I'm always looking for improvements. Let me know by opening an issue.
- If you find an issue you would like to fix, open a pull request. Issues tagged as Good first issue are a good place to get started.
- Help making the docs better. File an issue if you find anything that is confusing or can be improved.
- Take a look at the features requested by others in the community and consider opening a pull request if you see something you want to work on.
Contributions are very welcome.
Working on Paintable code#
Installation#
- Ensure you have Yarn installed
- After cloning the repository, run
yarn installin the root of the repository - To start a local development server, run
yarn dev:all - To check your changes run one of the examples
- to make a production build, run
yarn build:all
Project structure#
Semantic commit messages#
See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
Example
The various types of commits:
feat: (new feature for the user, not a new feature for build script)fix: (bug fix for the user, not a fix to a build script)docs: (changes to the documentation)style: (formatting, missing semi colons, etc; no production code change)refactor: (refactoring production code, eg. renaming a variable)test: (adding missing tests, refactoring tests; no production code change)chore: (updating grunt tasks etc; no production code change)
Use lower case not title case!