diff --git a/LICENSE b/LICENSE index a85a94a..6fdab59 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License -Copyright (c) 2010 Ryan McGrath +Copyright (c) 2009 Ryan McGrath Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +THE SOFTWARE. \ No newline at end of file diff --git a/wrench.js b/lib/wrench.js similarity index 98% rename from wrench.js rename to lib/wrench.js index d0e6da8..815b11b 100644 --- a/wrench.js +++ b/lib/wrench.js @@ -13,8 +13,7 @@ * ~ Ryan McGrath (ryan [at] venodesigns.net) */ -var fs = require("fs"), - sys = require("sys"); +var fs = require("fs"); /* wrench.rmdirSyncRecursive("directory_path"); * diff --git a/package.json b/package.json new file mode 100644 index 0000000..9f88e82 --- /dev/null +++ b/package.json @@ -0,0 +1,39 @@ +{ + "name": "wrench", + "description": "Recursive filesystem operations that Node *should* have.", + "version": "1.0", + "author": "Ryan McGrath", + + "repository": { + "type" : "git", + "url": "https://ryanmcgrath@github.com/ryanmcgrath/wrench-js.git", + }, + + "bugs": { + "web": "http://github.com/ryanmcgrath/wrench-js/issues", + }, + + "os": [ + "linux", + "darwin", + "freebsd", + ], + + "directories": { + "lib": "./lib/", + }, + + "main": "./lib/wrench", + + "engines": { + "node": ">=0.1.97", + }, + + "dependencies": { + "libxmljs" : "*", + }, + + "licenses": [ + {"type" : "MIT", "url" : "http://github.com/ryanmcgrath/wrench-js/raw/master/LICENSE"} + ], +} \ No newline at end of file