Permalink
Browse files

fix package.json to fix some issues we were having with installing vi…

…a npm and get rid of requirement for file to end in spec.js and just to end in .js
  • Loading branch information...
1 parent e6a2a2f commit 438794c3f67fa58f8a548f310e5290a00f1386e7 Gord Tanner committed May 2, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/jasmine-node/index.js
  2. +1 −1 package.json
@@ -45,7 +45,7 @@ jasmine.executeSpecsInFolder = function(folder, done, isVerbose, showColors, mat
var start = 0;
var elapsed = 0;
var verbose = isVerbose || false;
- var fileMatcher = matcher || new RegExp("spec\.(js)$", "i");
+ var fileMatcher = matcher || new RegExp(".(js)$", "i");
var colors = showColors || false;
var specs = jasmine.getAllSpecFiles(folder, fileMatcher);
View
@@ -19,5 +19,5 @@
, "dependencies" : { "coffee-script" : ">=1.0.1"}
, "files" : ["lib/jasmine-node/"]
, "bin" : "bin/jasmine-node"
-, "main" : "jasmine-node"
+, "main" : "lib/jasmine-node"
}

0 comments on commit 438794c

Please sign in to comment.