Permalink
Browse files

Remove outdated "file" package dependency.

  • Loading branch information...
1 parent 29cb045 commit fbe6db544336146c53c3503aad8c6fbaed87270b @justmoon justmoon committed Feb 7, 2012
Showing with 4 additions and 3 deletions.
  1. +1 −2 lib/yanop.coffee
  2. +3 −1 package.json
View
@@ -1,4 +1,3 @@
-file = require 'file'
path = require 'path'
reexport = (module) ->
@@ -19,7 +18,7 @@ exports.parse = (spec, argv) ->
exports.zero = () ->
abs = path.normalize process.argv[1]
- rel = file.path.relativePath process.cwd(), abs
+ rel = path.relative process.cwd(), abs
script = if rel.length < abs.length then rel else abs
"#{ process.argv[0] } #{ script }"
View
@@ -10,11 +10,13 @@
"test" : "./test"
},
"dependencies" : {
- "file" : ">=0.1.1"
},
"devDependencies" : {
"nodeunit" : ">=0.5.1"
},
+ "engines" : {
+ "node" : ">=0.6.0"
+ },
"scripts" : {
"test": "nodeunit test/*.js"
},

0 comments on commit fbe6db5

Please sign in to comment.