New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grunt-package-github

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-package-github

Adds information from Github about this project to package.json

0.1.4
latest
Source
npm
Version published
Maintainers
1
Created
Source

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

Keywords

grunt

FAQs

Package last updated on 12 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts