UNPKG

@titanium/turbo

Version:

🚀 Turbo is the awesome framework for turbo charging your Titanium cross-platform native mobile app development!

14 lines (12 loc) • 311 B
var fs = require('fs'), path = require('path'), _ = require('lodash'); module.exports = (function() { var obj = {}; _.each(fs.readdirSync(__dirname), function(file) { if (fs.existsSync(path.join(__dirname, file, 'index.js'))) { obj[file] = require('./' + file + '/index'); } }); return obj; })();