You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

grunt-subgrunt

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-subgrunt - npm Package Compare versions

Comparing version

to
0.4.5

.jscsrc

8

changelog.md

@@ -1,3 +0,9 @@

### v0.4.3 [view commit logs](https://github.com/tusbar/grunt-subgrunt/compare/v0.4.3...v0.4.4)
### v0.4.5 [view commit logs](https://github.com/tusbar/grunt-subgrunt/compare/v0.4.4...v0.4.5)
* Update dependencies
* Update travis configuration to include 0.10, 0.12 and latest iojs
* Update code quality configuration (jscs and jshint)
### v0.4.4 [view commit logs](https://github.com/tusbar/grunt-subgrunt/compare/v0.4.3...v0.4.4)
* Add tests (`customCase` and `coffee`)

@@ -4,0 +10,0 @@ * Update dependencies

@@ -10,12 +10,33 @@ 'use strict';

grunt.initConfig({
jscs: {
all: {
files: {
src: [
'Gruntfile.js',
'tasks/**/*.js',
'test/*.js',
'test/fixtures/*/*.js'
]
}
}
},
jshint: {
all: [
'Gruntfile.js',
'tasks/*.js'
],
options: {
jshintrc: '.jshintrc',
jshintrc: true
},
all: {
files: {
src: [
'Gruntfile.js',
'tasks/**/*.js',
'test/*.js',
'test/fixtures/*/*.js'
]
}
}
},
// ## //
clean: {

@@ -51,3 +72,3 @@ simple: [

],
coffeee: [
coffee: [
'test/fixtures/coffee/tmp'

@@ -57,2 +78,4 @@ ]

// ## //
subgrunt: {

@@ -117,2 +140,4 @@ simple: {

// ## //
nodeunit: {

@@ -126,3 +151,4 @@ tests: [

grunt.registerTask('test', [
'jshint',
'jscs:all',
'jshint:all',
'clean',

@@ -129,0 +155,0 @@ 'subgrunt',

13

package.json
{
"name": "grunt-subgrunt",
"version": "0.4.4",
"version": "0.4.5",
"description": "Run sub-projects' grunt tasks.",

@@ -31,4 +31,4 @@ "repository": {

"dependencies": {
"async": "^0.9.0",
"glob": "^4.3.4"
"async": "^1.0.0",
"glob": "^5.0.9"
},

@@ -40,7 +40,8 @@ "engines": {

"grunt": "^0.4.5",
"grunt-contrib-jshint": "^0.10.0",
"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-jshint": "^0.11.2",
"grunt-contrib-nodeunit": "^0.4.1",
"grunt-contrib-clean": "^0.6.0",
"load-grunt-tasks": "^2.0.0"
"grunt-jscs": "^1.8.0",
"load-grunt-tasks": "^3.2.0"
}
}

@@ -11,3 +11,3 @@ # grunt-subgrunt

## Getting started
This plugin requires Grunt `~0.4.4`
This plugin requires Grunt `^0.4.5`

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

@@ -7,7 +7,6 @@ 'use strict';

module.exports = function (grunt) {
var runNpmInstall = function (path, options, next) {
grunt.util.spawn({
cmd: options.npmPath,
args: [ 'install' ],
args: ['install'],
opts: { cwd: path, stdio: 'inherit' }

@@ -31,3 +30,3 @@ }, function (err, result, code) {

cmd: options.npmPath,
args: [ 'prune', '--production' ],
args: ['prune', '--production'],
opts: { cwd: path, stdio: 'inherit' }

@@ -34,0 +33,0 @@ }, function (err, result, code) {

'use strict';
var fs = require('fs')
var fs = require('fs');
module.exports = function (grunt) {
grunt.registerTask('default', function () {

@@ -8,0 +7,0 @@ var done = this.async();

'use strict';
var fs = require('fs')
var fs = require('fs');
module.exports = function (grunt) {
grunt.registerTask('default', function () {

@@ -8,0 +7,0 @@ var done = this.async();

'use strict';
var fs = require('fs')
var fs = require('fs');
module.exports = function (grunt) {
var text = grunt.option('text');

@@ -8,0 +7,0 @@

'use strict';
var fs = require('fs')
var fs = require('fs');
module.exports = function (grunt) {
grunt.registerTask('default', function () {

@@ -8,0 +7,0 @@ var done = this.async();

'use strict';
var fs = require('fs')
var fs = require('fs');
module.exports = function (grunt) {
grunt.registerTask('default', function () {

@@ -8,0 +7,0 @@ var done = this.async();

'use strict';
var fs = require('fs')
var fs = require('fs');
module.exports = function (grunt) {
grunt.registerTask('one', function () {

@@ -8,0 +7,0 @@ var done = this.async();

'use strict';
var fs = require('fs')
var fs = require('fs');
module.exports = function (grunt) {
grunt.registerTask('default', function () {

@@ -8,0 +7,0 @@ var done = this.async();

'use strict';
var fs = require('fs')
var fs = require('fs');
module.exports = function (grunt) {
grunt.registerTask('default', function () {

@@ -8,0 +7,0 @@ var done = this.async();

'use strict';
var fs = require('fs')
var fs = require('fs');
module.exports = function (grunt) {
grunt.registerTask('default', function () {

@@ -8,0 +7,0 @@ var done = this.async();

'use strict';
var fs = require('fs')
var fs = require('fs');
module.exports = function (grunt) {
grunt.registerTask('build', function () {

@@ -8,0 +7,0 @@ var done = this.async();

@@ -18,3 +18,7 @@ 'use strict';

test.equal(expected, actual, 'should create a file with "success" in it after running the "simple" task');
test.equal(
expected,
actual,
'should create a file with "success" in it after running the "simple" task'
);

@@ -30,3 +34,7 @@ test.done();

test.equal(expected, actual, 'should create a file with "success" in it after running the "array" task');
test.equal(
expected,
actual,
'should create a file with "success" in it after running the "array" task'
);

@@ -42,3 +50,7 @@ test.done();

test.equal(expected1, actual1, 'should create a file with "success" in it after running the "multiple/multiple-1" task');
test.equal(
expected1,
actual1,
'should create a file with "success" in it after running the "multiple/multiple-1" task'
);

@@ -48,3 +60,7 @@ var actual2 = read('test/fixtures/multiple/tmp/output-2.txt');

test.equal(expected2, actual2, 'should create a file with "success" in it after running the "multiple/multiple-2" task');
test.equal(
expected2,
actual2,
'should create a file with "success" in it after running the "multiple/multiple-2" task'
);

@@ -60,3 +76,7 @@ test.done();

test.equal(expected, actual, 'should create a file with "two" in it after running the "multipleTask" tasks');
test.equal(
expected,
actual,
'should create a file with "two" in it after running the "multipleTask" tasks'
);

@@ -72,3 +92,7 @@ test.done();

test.equal(expected, actual, 'should created a file with "foo" in it after running the "customOptions" task');
test.equal(
expected,
actual,
'should created a file with "foo" in it after running the "customOptions" task'
);

@@ -84,3 +108,7 @@ test.done();

test.equal(expected, actual, 'should create a file with "success" in it after running the "noProjectsObject" task');
test.equal(
expected,
actual,
'should create a file with "success" in it after running the "noProjectsObject" task'
);

@@ -95,3 +123,6 @@ test.done();

test.ok(exists, 'should install npm dev dependencies and "async" module should exist in "node_modules" directory');
test.ok(
exists,
'should install npm dev dependencies and "async" module should exist in "node_modules" directory'
);

@@ -101,3 +132,7 @@ var actual = read('test/fixtures/npmInstall/tmp/output.txt');

test.equal(expected, actual, 'should create a file with "success" in it after running the "npmInstall" task');
test.equal(
expected,
actual,
'should create a file with "success" in it after running the "npmInstall" task'
);

@@ -112,3 +147,6 @@ test.done();

test.ok(!exists, 'should remove npm dev dependencies and "async" module should be cleaned from "node_modules" directory');
test.ok(
!exists,
'should remove npm dev dependencies and "async" module should be cleaned from "node_modules" directory'
);

@@ -118,3 +156,7 @@ var actual = read('test/fixtures/npmClean/tmp/output.txt');

test.equal(expected, actual, 'should create a file with "success" in it after running the "npmClean" task');
test.equal(
expected,
actual,
'should create a file with "success" in it after running the "npmClean" task'
);

@@ -130,3 +172,7 @@ test.done();

test.equal(expected, actual, 'should create a file with "success" in it after running the "customCase" task');
test.equal(
expected,
actual,
'should create a file with "success" in it after running the "customCase" task'
);

@@ -142,3 +188,7 @@ test.done();

test.equal(expected, actual, 'should create a file with "success" in it after running the "coffee" task');
test.equal(
expected,
actual,
'should create a file with "success" in it after running the "coffee" task'
);

@@ -145,0 +195,0 @@ test.done();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet