904 B
904 B
Contributing to grunt-npmcopy
Follow the jQuery style guide, with these exceptions:
- Use single quotes
- Multiple var statements can be used to group variable declarations logically
- Liberal spacing between parenthesis need not be used
- Use jsdoc-style comments for functions
Add tests to test/npmcopy_test.js. See the nodeunit README for documentation.
If you're unfamiliar with grunt, gruntjs.com is a good place to start. Follow instructions for installing grunt and see the Gruntfile for the tasks used.
Always run tests before submitting a pull request, unless it is just a documentation or copy change.
Development workflow
There is a watch task defined in the Gruntfile to lint and test as you go. Run grunt watch to start.