added a test and coverage section to package.json's scripts property.
added some dev dependencies to package.json which are needed for testing and code coverage.
removed some unneeded dependencies from package.json
removed some unneeded modules that were required in index.js
NodePreGypGithub.prototype.github = new GitHubApi(..) now happens immediatelly instead of within NodePreGypGithub.prototype.init(). The main reason for this was so I could provide a replacement mock to use within unit tests.
added some missing escape characters, so /{version}/g is now /\{version\}/g
Changes:
NodePreGypGithub.prototype.github = new GitHubApi(..)
now happens immediatelly instead of withinNodePreGypGithub.prototype.init()
. The main reason for this was so I could provide a replacement mock to use within unit tests./{version}/g
is now/\{version\}/g