2.3 KiB
title | editLink |
---|---|
Development | false |
PEG.js is currently maintained by Futago-za Ryuu (@futagozaryuu).
Since it's inception in 2010, PEG.js was maintained by David Majda (@dmajda), until May 2017.
::: warning The Bower package (which was maintained by Michel Krämer (@michelkraemer)) has been deprecated, and will no longer be updated. :::
Contribute
You are welcome to contribute code using GitHub pull requests. Unless your contribution is really trivial you should get in touch with me first (preferably by creating a new issue on the issue tracker) - this can prevent wasted effort on both sides.
Before submitting a pull request, please make sure you've checked out the Contribution Guidelines.
Ensure you have Node.js v6+ and Yarn installed.
- Create a fork of https://github.com/pegjs/pegjs
- Clone your fork, and optionally create a new branch
- Run the command
yarn install
from the root of your clone - Add and commit your changes
- Validate your changes:
- Lint the JavaScript changes (command line only, run
yarn lint
) - Run tests to ensure nothing's broken:
yarn test
from the root of the repository - Run benchmarks to check performance:
yarn benchmark
- Check the impact of your commits: see separate documentation
- Lint the JavaScript changes (command line only, run
- If validation fails: reverse your commit, fix the problem and then add/commit again
- Push the commits from your clone to the fork
- From your fork, start a new pull request
It's also a good idea to check out the package.json that defines various scripts.
To see the list of contributors check out the repository's contributors page.