Permalink
Browse files

Making sure that jessie is available as a global variable when execut…

…ed from the bin
  • Loading branch information...
1 parent a0dd99b commit ead90f6d2722787b8928913f96fd732f1d3468b8 Marcin Bunsch committed Jan 16, 2012
Showing with 5 additions and 2 deletions.
  1. +1 −0 bin/jessie
  2. +4 −2 package.json
View
1 bin/jessie
@@ -1,6 +1,7 @@
#!/usr/bin/env node
// Load jessie
var jessie = require('../lib/jessie');
+global.jessie = jessie;
// Load package.json
var pkgsrc = require('fs').readFileSync(__dirname + '/../package.json');
View
6 package.json
@@ -1,14 +1,16 @@
{
"name" : "jessie",
- "version" : "0.4.0",
+ "version" : "0.4.1",
"description" : "Node runner for Jasmine JavaScript BDD testing framework",
"homepage" : [ "https://github.com/futuresimple/jessie"],
"repository" : { "type" : "git", "url" : "https://github.com/futuresimple/jessie.git" },
"keywords" : ["testing", "bdd"],
"author" : "Marcin Bunsch <marcin@futuresimple.com>",
"contributors" : [ ],
"maintainers" : "Marcin Bunsch <marcin@futuresimple.com>",
- "dependencies" : ["cli"],
+ "dependencies" : {
+ "cli": ">=0.4.0"
+ },
"engines": {
"node": ">=0.5.0"
},

0 comments on commit ead90f6

Please sign in to comment.