-
Fork Punch on GitHub:
-
Clone the forked repository:
git clone [email protected]:YOUR_USER/punch.git && cd punch
-
Install the development version of the package, along with the dependencies.
npm link
-
Verify existing tests pass:
npm test
-
Read the Code Style Guide.
-
Create a topic branch:
git checkout -b feature
-
Make your changes. (It helps a lot if you write tests first.)
-
Verify that tests still pass:
npm spec
-
Run JSHint to make sure you're code didn't introduce any inconsistencies:
jshint lib/*
-
Push the changes to your fork:
git push -u YOUR_USER feature
-
Send a pull request describing your changes.
-
If possible, check whether the Punch Guide is still up to date, after merging your changes.