grunt-contrib-lib
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -8,2 +8,3 @@ module.exports = function(grunt) { | ||
}, | ||
jshint: { | ||
@@ -10,0 +11,0 @@ options: { |
/* | ||
* grunt-contrib-lib | ||
* http://github.com/gruntjs/grunt-contrib-lib | ||
* http://gruntjs.com/ | ||
* | ||
* Copyright (c) 2012 Tyler Kellen & Contributors | ||
* Copyright (c) 2012 Tyler Kellen, contributors | ||
* Licensed under the MIT license. | ||
* http://tkellen.com/ | ||
* https://github.com/gruntjs/grunt-contrib-lib/blob/master/LICENSE-MIT | ||
*/ | ||
exports.init = function(grunt) { | ||
'use strict'; | ||
"use strict"; | ||
var exports = {}; | ||
@@ -22,6 +21,6 @@ | ||
var _ = grunt.util._; | ||
var namespace = data.nameArgs.split(":"); | ||
var task = grunt.config(_.flatten([namespace, "options"])); | ||
var global_subtask = namespace.length > 1 ? grunt.config(_.flatten(["options", namespace])) : {}; | ||
var global = grunt.config(["options", namespace[0]]); | ||
var namespace = data.nameArgs.split(':'); | ||
var task = grunt.config(_.flatten([namespace, 'options'])); | ||
var global_subtask = namespace.length > 1 ? grunt.config(_.flatten(['options', namespace])) : {}; | ||
var global = grunt.config(['options', namespace[0]]); | ||
@@ -28,0 +27,0 @@ return _.defaults({}, task, global_subtask, global, defaults || {}); |
{ | ||
"name": "grunt-contrib-lib", | ||
"description": "Common functionality shared across grunt-contrib tasks.", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"homepage": "http://github.com/gruntjs/grunt-contrib-lib", | ||
"contributors": [ | ||
{ | ||
"name": "Tyler Kellen", | ||
"url": "http://tkellen.com/" | ||
}, | ||
{ | ||
"name": "Chris Talkington", | ||
"url": "http://github.com/ctalkington" | ||
} | ||
], | ||
"author": { | ||
"name": "Tyler Kellen", | ||
"url": "http://tkellen.com/" | ||
}, | ||
"repository": { | ||
@@ -29,15 +23,6 @@ "type": "git", | ||
], | ||
"dependencies": { | ||
}, | ||
"devDependencies": { | ||
"grunt": "~0.3.11" | ||
}, | ||
"engines": { | ||
"node": ">= 0.6.0" | ||
}, | ||
"main": "lib/contrib", | ||
"scripts": { | ||
"test": "grunt test" | ||
} | ||
} | ||
"main": "lib/contrib" | ||
} |
# grunt-contrib-lib | ||
> Common functionality shared across grunt-contrib tasks. | ||
Copyright (c) 2012 Tyler Kellen & Contributors | ||
Licensed under the MIT license. | ||
> Common functionality shared across grunt-contrib tasks. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
0
7
0
4974
2
1