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:
commit
908051c694
|
@ -0,0 +1,2 @@
|
|||
node_modules
|
||||
walk-test
|
|
@ -42,10 +42,10 @@
|
|||
me._wcurpath = pathname;
|
||||
|
||||
if (me._wsync) {
|
||||
console.log('_walkSync');
|
||||
//console.log('_walkSync');
|
||||
me._wWalk = me._wWalkSync;
|
||||
} else {
|
||||
console.log('_walkASync');
|
||||
//console.log('_walkASync');
|
||||
me._wWalk = me._wWalkAsync;
|
||||
}
|
||||
|
||||
|
|
41
package.json
41
package.json
|
@ -1,16 +1,23 @@
|
|||
{
|
||||
"name" : "walk",
|
||||
"description" : "A node port of python's os.walk",
|
||||
"url" : "github.com/coolaj86/node-walk",
|
||||
"keywords" : ["util", "os", "sys", "fs", "walk", "walkSync"],
|
||||
"author" : "AJ ONeal <coolaj86@gmail.com>",
|
||||
"contributors" : [],
|
||||
"dependencies" : {
|
||||
"name": "walk",
|
||||
"description": "A node port of python's os.walk",
|
||||
"url": "http://github.com/coolaj86/node-walk",
|
||||
"keywords": [
|
||||
"util",
|
||||
"os",
|
||||
"sys",
|
||||
"fs",
|
||||
"walk",
|
||||
"walkSync"
|
||||
],
|
||||
"author": "AJ ONeal <coolaj86@gmail.com>",
|
||||
"contributors": [],
|
||||
"dependencies": {
|
||||
"forEachAsync": "~2.2"
|
||||
},
|
||||
"lib" : ".",
|
||||
"main" : "./walk.js",
|
||||
"version" : "2.3.0-alpha2",
|
||||
"lib": ".",
|
||||
"main": "./lib/walk.js",
|
||||
"version": "2.3.1",
|
||||
"repository": {
|
||||
"url": "git://github.com/coolaj86/node-walk.git"
|
||||
},
|
||||
|
@ -23,5 +30,17 @@
|
|||
"type": "Apache2",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue