grunt-package-github
v0.1.4
Published
Adds information from Github about this project to package.json
Downloads
8
Keywords
Readme
grunt-package-github
Adds information from Github about this project to package.json
Getting Started
This plugin requires Grunt ~0.4.1
npm install grunt-package-github --save-dev
The "package-github-data" task
Overview
This plugin will add the lastCommitTimestamp and lastCommitSha to the package.json. These are both retrieved from Github using the config below.
Config
This plugin requires a config sections named package-github-data
passed into grunt.initConfig()
.
grunt.initConfig({
package-github-data: {
options: {
github: {
user: "your_github_user",
repo: "your_github_repo",
o_auth_token: "your_github_o_auth_token"
}
}
}
})