Mailspring/packages/nylas-core/index.js

11 lines
367 B
JavaScript
Raw Normal View History

global.Promise = require('bluebird');
2016-06-23 05:41:32 +08:00
module.exports = {
DatabaseConnector: require('./database-connector'),
PubsubConnector: require('./pubsub-connector'),
IMAPConnection: require('./imap-connection'),
2016-06-24 04:15:30 +08:00
SyncPolicy: require('./sync-policy'),
SchedulerUtils: require('./scheduler-utils'),
2016-06-23 05:41:32 +08:00
Config: require(`./config/${process.env.ENV || 'development'}`),
}