Permalink
Browse files

Update deps, support node 0.8.x (close #21)

  • Loading branch information...
1 parent 63f1a18 commit a3bd844bf32335ed426de20c39a86358f0413a48 @arikon arikon committed Oct 3, 2012
Showing with 5 additions and 7 deletions.
  1. +4 −4 package.json
  2. +1 −3 tests/v.js
View
@@ -20,17 +20,17 @@
},
"main": "./lib/coa.js",
"dependencies": {
- "q": "~0.7.2"
+ "q": "~0.8.8"
},
"devDependencies": {
- "vows": "~0.5.12"
+ "vows": "~0.6.4"
},
"engines": {
- "node": ">=0.4.0"
+ "node": ">= 0.6.0"
},
"licenses": [
{
- "type": "AS IS"
+ "type": "MIT"
}
],
"optionalDependencies": {}
View
@@ -9,9 +9,7 @@ require('../lib/coa').Cmd()
.flag()
.only()
.act(function(opts, args) {
- return JSON.parse(
- require('fs').readFileSync(__dirname + '/../package.json'))
- .version
+ return require('../package.json').version;
})
.end()
.opt()

0 comments on commit a3bd844

Please sign in to comment.