Add Add flwoa, inquirer, request, and uuid into DI

This commit is contained in:
Mohammad Fares 2018-10-14 21:53:48 +03:00
parent 08a51e03fe
commit 739904b7d5
1 changed files with 8 additions and 0 deletions

8
app.js
View File

@ -10,6 +10,7 @@ var yargs = require('yargs'),
_ = require('lodash'), _ = require('lodash'),
async = require('async'), async = require('async'),
asyncPromises = require('async-promises'), asyncPromises = require('async-promises'),
request = require('request'),
death = require('death'), death = require('death'),
stringArgv = require('string-argv'), stringArgv = require('string-argv'),
path = require('path'), path = require('path'),
@ -17,6 +18,9 @@ var yargs = require('yargs'),
GIFEncoder = require('gif-encoder'), GIFEncoder = require('gif-encoder'),
PNG = require('pngjs').PNG, PNG = require('pngjs').PNG,
yaml = require('js-yaml'), yaml = require('js-yaml'),
uuid = require('uuid'),
Flowa = require('flowa'),
inquirer = require('inquirer'),
os = require('os'), os = require('os'),
spawn = require('child_process').spawn, spawn = require('child_process').spawn,
electron = require('electron'), electron = require('electron'),
@ -41,6 +45,7 @@ di.set('chalk', chalk);
di.set('_', _); di.set('_', _);
di.set('async', async); di.set('async', async);
di.set('asyncPromises', asyncPromises); di.set('asyncPromises', asyncPromises);
di.set('request', request);
di.set('death', death); di.set('death', death);
di.set('stringArgv', stringArgv); di.set('stringArgv', stringArgv);
di.set('path', path); di.set('path', path);
@ -55,7 +60,10 @@ di.set('pty', pty);
di.set('fs', fs); di.set('fs', fs);
di.set('now', now); di.set('now', now);
di.set('fs', fs); di.set('fs', fs);
di.set('Flowa', Flowa);
di.set('inquirer', inquirer);
di.set('yaml', yaml); di.set('yaml', yaml);
di.set('uuid', uuid);
di.set('utility', utility); di.set('utility', utility);
di.set('play', play); di.set('play', play);
di.set('errorHandler', errorHandler); di.set('errorHandler', errorHandler);