From 739904b7d558e6dc95d7758f01dcd71aed61eebe Mon Sep 17 00:00:00 2001 From: Mohammad Fares Date: Sun, 14 Oct 2018 21:53:48 +0300 Subject: [PATCH] Add Add flwoa, inquirer, request, and uuid into DI --- app.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app.js b/app.js index e2adaa2..202912c 100644 --- a/app.js +++ b/app.js @@ -10,6 +10,7 @@ var yargs = require('yargs'), _ = require('lodash'), async = require('async'), asyncPromises = require('async-promises'), + request = require('request'), death = require('death'), stringArgv = require('string-argv'), path = require('path'), @@ -17,6 +18,9 @@ var yargs = require('yargs'), GIFEncoder = require('gif-encoder'), PNG = require('pngjs').PNG, yaml = require('js-yaml'), + uuid = require('uuid'), + Flowa = require('flowa'), + inquirer = require('inquirer'), os = require('os'), spawn = require('child_process').spawn, electron = require('electron'), @@ -41,6 +45,7 @@ di.set('chalk', chalk); di.set('_', _); di.set('async', async); di.set('asyncPromises', asyncPromises); +di.set('request', request); di.set('death', death); di.set('stringArgv', stringArgv); di.set('path', path); @@ -55,7 +60,10 @@ di.set('pty', pty); di.set('fs', fs); di.set('now', now); di.set('fs', fs); +di.set('Flowa', Flowa); +di.set('inquirer', inquirer); di.set('yaml', yaml); +di.set('uuid', uuid); di.set('utility', utility); di.set('play', play); di.set('errorHandler', errorHandler);