Comparing version 0.1.1 to 0.1.2
41
index.js
require('coffee-script') | ||
module.exports = { | ||
// Core | ||
Shell: require('./lib/Shell'), | ||
styles: require('./lib/styles'), | ||
// Plugins | ||
cloud9: require('./lib/plugins/cloud9'), | ||
coffee: require('./lib/plugins/coffee'), | ||
completer: require('./lib/plugins/completer'), | ||
error: require('./lib/plugins/error'), | ||
help: require('./lib/plugins/help'), | ||
history: require('./lib/plugins/history'), | ||
http: require('./lib/plugins/http'), | ||
router: require('./lib/plugins/router'), | ||
redis: require('./lib/plugins/redis'), | ||
test: require('./lib/plugins/test'), | ||
routes: { | ||
shellOnly: require('./lib/routes/shellOnly') | ||
} | ||
// Core | ||
var Shell = module.exports = require('./lib/Shell'); | ||
Shell.styles = require('./lib/Styles'); | ||
// Plugins | ||
Shell.cloud9 = require('./lib/plugins/cloud9'); | ||
Shell.coffee = require('./lib/plugins/coffee'); | ||
Shell.completer = require('./lib/plugins/completer'); | ||
Shell.error = require('./lib/plugins/error'); | ||
Shell.help = require('./lib/plugins/help'); | ||
Shell.history = require('./lib/plugins/history'); | ||
Shell.http = require('./lib/plugins/http'); | ||
Shell.router = require('./lib/plugins/router'); | ||
Shell.redis = require('./lib/plugins/redis'); | ||
Shell.test = require('./lib/plugins/test'); | ||
// Routes | ||
Shell.routes = { | ||
shellOnly: require('./lib/routes/shellOnly') | ||
}; | ||
Shell.Shell = function(settings){ | ||
console.warn('Deprecated, use `shell()` instead of `shell.Shell()`'); | ||
return new Shell( settings ); | ||
} |
{ | ||
"name": "shell", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Full features and pretty console applications", | ||
@@ -5,0 +5,0 @@ "author": "David Worms <david@adaltas.com>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
62253
39
313