-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.repl.js
More file actions
26 lines (22 loc) · 823 Bytes
/
.repl.js
File metadata and controls
26 lines (22 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
require('dotenv').config()
function reload(module){
delete require.cache[require.resolve(module)]
return require(module)
}
global.reload = reload
global.rl = reload
global.cl = console.log
global.Promise = require('bluebird')
global.Lazy = require('lazy.js')
global.sprintf = require('sprintf')
global.outdent = require('outdent')
global.ccxt = require('ccxt')
global.luxon = require('luxon')
global.DateTime = luxon.DateTime
global.Interval = luxon.Interval
global.events = require('events')
global.EventEmitter = events.EventEmitter
global.dd = require('./dist').default // dexter-data
global.service = require('./dist/service').default
global.alerts = require('./dist/alerts').default
global.time = require('./dist/time').default