grunt-package-github

0.1.4 • Public • Published

grunt-package-github

Adds information from Github about this project to package.json

Build Status

NPM

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"
        }
    }
  }
})

/grunt-package-github/

    Package Sidebar

    Install

    npm i grunt-package-github

    Weekly Downloads

    2

    Version

    0.1.4

    License

    MIT

    Last publish

    Collaborators

    • andyroyle
    • christriddle
    • matteofigus
    • ryantomlinson
    • stevejhiggs