Skip to content

Commit

Permalink
Fixes #6, removing dependency on mocha, replacing with peerDependenci…
Browse files Browse the repository at this point in the history
…es and devDependencies
  • Loading branch information
itaylor committed May 22, 2013
1 parent 80f90c9 commit 125201c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"type": "git",
"url": "http://github.com/itaylor/qunit-mocha-ui"
},
"dependencies" : {
"devDependencies" : {
"mocha": ">=1.8"
},
"peerDependencies": {
"mocha": ">=1.8"
},
"main" : "qunit-mocha-ui.js",
Expand Down
2 changes: 1 addition & 1 deletion qunit-mocha-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Module dependencies.
*/

var Mocha = require("mocha");
var Mocha = module.parent.require("mocha");
var Suite = Mocha.Suite
, Test = Mocha.Test
, assert = require("assert");
Expand Down

0 comments on commit 125201c

Please sign in to comment.