grunt-jasmine-node
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name" : "grunt-jasmine-node", | ||
"description" : "Grunt task for running jasmine-node", | ||
"version" : "0.0.2", | ||
"version" : "0.0.3", | ||
"homepage" : "https://github.com/s9tpepper/grunt-jasmine-node", | ||
@@ -32,2 +32,3 @@ "author" : { | ||
"dependencies" : { | ||
"jasmine-node": "*" | ||
}, | ||
@@ -34,0 +35,0 @@ "devDependencies" : { |
@@ -13,3 +13,3 @@ # grunt-jasmine-node | ||
jasmine_node: { | ||
spec: "./spec", | ||
specNameMatcher: "./spec", // load only specs containing specNameMatcher | ||
projectRoot: ".", | ||
@@ -42,2 +42,2 @@ requirejs: false, | ||
Copyright (c) 2012 "s9tpepper" Omar Gonzalez & contributors. | ||
Licensed under the MIT license. | ||
Licensed under the MIT license. |
module.exports = function (grunt) { | ||
'use strict'; | ||
@@ -7,2 +8,3 @@ grunt.registerTask("jasmine_node", "Runs jasmine-node.", function() { | ||
var Path = require('path'); | ||
var _ = grunt.utils._; | ||
@@ -17,5 +19,3 @@ try { | ||
var source = grunt.config("jasmine_node.source") || "src"; | ||
var specFolderName = grunt.config("jasmine_node.specFolderName") || "spec"; | ||
var isVerbose = grunt.config("jasmine_node.verbose") || true; | ||
var showColors = grunt.config("jasmine_node.colors") || true; | ||
var specNameMatcher = grunt.config("jasmine_node.specNameMatcher") || "spec"; | ||
var teamcity = grunt.config("jasmine_node.teamcity") || false; | ||
@@ -30,2 +30,13 @@ var useRequireJs = grunt.config("jasmine_node.requirejs") || false; | ||
var isVerbose = grunt.config("jasmine_node.verbose"); | ||
var showColors = grunt.config("jasmine_node.colors"); | ||
if (_.isUndefined(isVerbose)) { | ||
isVerbose = true; | ||
} | ||
if (_.isUndefined(showColors)) { | ||
showColors = true; | ||
} | ||
var junitreport = { | ||
@@ -43,3 +54,3 @@ report: false, | ||
var regExpSpec = new RegExp(match + (matchall ? "" : specFolderName + "\\.") + "(" + extensions + ")$", 'i'); | ||
var regExpSpec = new RegExp(match + (matchall ? "" : specNameMatcher + "\\.") + "(" + extensions + ")$", 'i'); | ||
var onComplete = function(runner, log) { | ||
@@ -75,2 +86,2 @@ var exitCode; | ||
}); | ||
}; | ||
}; |
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
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
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
7225
128
42
1
1
+ Addedjasmine-node@*
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedcoffeescript@1.12.7(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedgaze@1.1.3(transitive)
+ Addedglob@7.1.7(transitive)
+ Addedglobule@1.3.4(transitive)
+ Addedgrowl@1.10.5(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedjasmine-growl-reporter@2.0.0(transitive)
+ Addedjasmine-node@3.0.0(transitive)
+ Addedjasmine-reporters@1.0.2(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedminimatch@3.0.8(transitive)
+ Addedmkdirp@0.3.5(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedrequirejs@2.3.7(transitive)
+ Addedunderscore@1.9.2(transitive)
+ Addedwalkdir@0.0.12(transitive)
+ Addedwrappy@1.0.2(transitive)