const nativeExecSync = require('child_process').execSync;
nativeExecSync('cat *.js ' + bad_file + ' | wc -l');
const execSync = require('exec-sync-uc');
const PIPE = '|';
execSync([ 'cat *.js', bad_file, PIPE, 'wc -l' ]);
const NPM = '/home/ubuntu/.nvm/versions/node/v4.2.6/bin/npm';
const DIR_NAME = 'SOME_DIR_PATH';
const zip_file = process.argv[2];
execSync(['rm', '-rf', DIR_NAME ]);
execSync('unzip'+ zip_file +' -d'+ DIR_NAME );
execSync(['unzip', zip_file, '-d', DIR_NAME ]);
execSync([ NPM, 'install', '--production'], { cwd: DIR_NAME });