Skip to content

Instantly share code, notes, and snippets.

View MatthieuLemoine's full-sized avatar

Matthieu Lemoine MatthieuLemoine

View GitHub Profile
@MatthieuLemoine
MatthieuLemoine / install-deps.js
Created May 19, 2018 12:22
Install dependencies for all projects in current dir
const fs = require('fs');
const path = require('path');
const { promisify } = require('util');
const { exec: childExec } = require('child_process');
const ProgressBar = require('ascii-progress');
const readDir = promisify(fs.readdir);
const exec = promisify(childExec);
const workingDir = process.cwd();