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

grunt-build-control

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-build-control - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "grunt-build-control",
"description": "Automate version control tasks for your project's built code. Keep built code in sync with source code, maintain multiple branches of built code, commit with automatic messages, and push to remote repositories.",
"version": "0.1.1",
"version": "0.1.2",
"homepage": "https://github.com/robwierzbowski/grunt-build-control",

@@ -6,0 +6,0 @@ "author": "Rob Wierzbowski <hello@robwierzbowski.com> (http://robwierzbowski)",

@@ -7,3 +7,3 @@ # grunt-build-control

This plugin requires [Grunt](http://gruntjs.com/) `~0.4.0` and [Git](http://git-scm.com/).
This plugin requires [Grunt](http://gruntjs.com/) `~0.4.0` and [Git](http://git-scm.com/) `> 1.8`.

@@ -41,3 +41,3 @@ If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide which explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with Grunt you can install the plugin with the command:

Type: `String`
Default: *Required*
Default: `dist`

@@ -49,3 +49,3 @@ The directory that contains your built code.

Type: `String`
Default: *Required*
Default: `dist`

@@ -57,3 +57,3 @@ The branch to commit to.

Type: `String`
Default: *Required*
Default: `../`

@@ -195,3 +195,4 @@ The remote to push to. Common examples include a distribution repository (Heroku or Scalr), your main project's remote (gh-pages branch on Github), or the local project repository itself (`../`).

- 2013-10-X v0.0.0
- 2013-11-29 v0.1.2: Add defaults for all properties.
- 2013-10-19 v0.1.1: Stable initial release.

@@ -198,0 +199,0 @@ ## License

@@ -24,2 +24,5 @@ /*

var options = this.options({
branch: 'dist',
dir: 'dist',
remote: '../',
commit: false,

@@ -59,9 +62,2 @@ // tag: false,

function checkRequirements () {
// Check that required options are set.
['branch', 'dir', 'remote'].forEach( function (element) {
if (!options.hasOwnProperty(element)) {
throw('The "' + element + '" option is required.');
}
});
// Check that the build directory exists

@@ -68,0 +64,0 @@ if (!fs.existsSync(options.dir)) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc