recink
Version:
Rethink CI for JavaScript applications
21 lines (15 loc) • 309 B
JavaScript
;
const dot = require('dot-object');
/**
* Cache component events
*/
const events = {};
events.$ = [
'cache.progress',
'cache.upload.progress',
'cache.download.progress',
].map(eventPath => {
dot.str(eventPath, eventPath, events);
return eventPath;
});
module.exports = events;