generator-angular2
Version:
Angular2 Yeoman Generator
35 lines (24 loc) • 1.08 kB
Markdown
# Contributing
Everyone is welcome to contribute with patches, bug-fixes and new features
1. Create an [issue][1] on github so the community can comment on your idea
2. Fork this project in github
3. Create a new branch `git checkout -b my_branch`
4. Create tests for the changes you made
5. Make sure you pass both existing and newly inserted tests
6. Commit your changes
7. Push to your branch `git push origin my_branch`
8. Create a pull request
to run tests make sure you npm test but also run tests without mocks:
``` sh
npm test
```
Please fix all issues identified in the pre-commit hooks before sending your patch. if you don't, we will close the patch and ask you to re-open it once you have:
1. 100% code coverage
2. proper code style
3. linted all your code
This is not a replacement for appropriate tests, please make sure that you have adequate coverage and thoroughly test the code you introduced.
You can add verbose debug messages while running tests by doing:
```
DEBUG=* node app.js
```
[1]: http://github.com/swirlycheetah/generator-angular2/issues