11cb0ef41Sopenharmony_ci# How to Contribute 21cb0ef41Sopenharmony_ci 31cb0ef41Sopenharmony_ci## Pull Requests 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_ciWe also accept [pull requests][pull-request]! 61cb0ef41Sopenharmony_ci 71cb0ef41Sopenharmony_ciGenerally we like to see pull requests that 81cb0ef41Sopenharmony_ci 91cb0ef41Sopenharmony_ci- Maintain the existing code style 101cb0ef41Sopenharmony_ci- Are focused on a single change (i.e. avoid large refactoring or style adjustments in untouched code if not the primary goal of the pull request) 111cb0ef41Sopenharmony_ci- Have [good commit messages](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) 121cb0ef41Sopenharmony_ci- Have tests 131cb0ef41Sopenharmony_ci- Don't decrease the current code coverage (see coverage/lcov-report/index.html) 141cb0ef41Sopenharmony_ci 151cb0ef41Sopenharmony_ci## Building 161cb0ef41Sopenharmony_ci 171cb0ef41Sopenharmony_ci``` 181cb0ef41Sopenharmony_ciyarn 191cb0ef41Sopenharmony_ciyarn test 201cb0ef41Sopenharmony_ci``` 211cb0ef41Sopenharmony_ci 221cb0ef41Sopenharmony_ciRunning `yarn test -- dev` will watch for tests within Node and `karma start` may be used for manual testing in browsers. 231cb0ef41Sopenharmony_ci 241cb0ef41Sopenharmony_ciIf you notice any problems, please report them to the GitHub issue tracker at 251cb0ef41Sopenharmony_ci[http://github.com/kpdecker/jsdiff/issues](http://github.com/kpdecker/jsdiff/issues). 261cb0ef41Sopenharmony_ci 271cb0ef41Sopenharmony_ci## Releasing 281cb0ef41Sopenharmony_ci 291cb0ef41Sopenharmony_ciA full release may be completed with the following: 301cb0ef41Sopenharmony_ci 311cb0ef41Sopenharmony_ci``` 321cb0ef41Sopenharmony_ciyarn clean 331cb0ef41Sopenharmony_ciyarn grunt 341cb0ef41Sopenharmony_ciyarn grunt uglify 351cb0ef41Sopenharmony_ciyarn publish 361cb0ef41Sopenharmony_ci``` 37