Merge pull request #29 from cainus/master

fix 'main' property in package.json to make this library require-able again.
This commit is contained in:
AJ ONeal 2014-01-26 17:47:33 -08:00
commit 908051c694
3 changed files with 36 additions and 15 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
node_modules
walk-test

View File

@ -42,10 +42,10 @@
me._wcurpath = pathname; me._wcurpath = pathname;
if (me._wsync) { if (me._wsync) {
console.log('_walkSync'); //console.log('_walkSync');
me._wWalk = me._wWalkSync; me._wWalk = me._wWalkSync;
} else { } else {
console.log('_walkASync'); //console.log('_walkASync');
me._wWalk = me._wWalkAsync; me._wWalk = me._wWalkAsync;
} }

View File

@ -1,16 +1,23 @@
{ {
"name": "walk", "name": "walk",
"description": "A node port of python's os.walk", "description": "A node port of python's os.walk",
"url" : "github.com/coolaj86/node-walk", "url": "http://github.com/coolaj86/node-walk",
"keywords" : ["util", "os", "sys", "fs", "walk", "walkSync"], "keywords": [
"util",
"os",
"sys",
"fs",
"walk",
"walkSync"
],
"author": "AJ ONeal <coolaj86@gmail.com>", "author": "AJ ONeal <coolaj86@gmail.com>",
"contributors": [], "contributors": [],
"dependencies": { "dependencies": {
"forEachAsync": "~2.2" "forEachAsync": "~2.2"
}, },
"lib": ".", "lib": ".",
"main" : "./walk.js", "main": "./lib/walk.js",
"version" : "2.3.0-alpha2", "version": "2.3.1",
"repository": { "repository": {
"url": "git://github.com/coolaj86/node-walk.git" "url": "git://github.com/coolaj86/node-walk.git"
}, },
@ -23,5 +30,17 @@
"type": "Apache2", "type": "Apache2",
"url": "http://opensource.org/licenses/apache2.0.php" "url": "http://opensource.org/licenses/apache2.0.php"
} }
] ],
"bugs": {
"url": "https://github.com/coolaj86/node-walk/issues"
},
"homepage": "https://github.com/coolaj86/node-walk",
"directories": {
"example": "examples",
"test": "test"
},
"devDependencies": {},
"scripts": {
"test": "./test/walk-test.sh"
}
} }