adds index

This commit is contained in:
Zachary Boyd 2015-12-31 19:29:10 -08:00
parent bc38d1204e
commit 624a75f563
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
module.exports = {};
(require('shelljs').ls(__dirname).filter((f) => f !== 'index.js')).forEach(function (name) {
module.exports[name.replace('.js', '')] = require(__dirname+'/'+name);;
})

View file

@ -1,6 +1,6 @@
{
"name": "tor-router",
"version": "0.0.1",
"version": "1.0.0",
"bin": "bin/tor-router.js",
"author": [
{