diff --git a/lib/link.js b/lib/link.js index 0d0c596b..32e347c7 100644 --- a/lib/link.js +++ b/lib/link.js @@ -1,10 +1,8 @@ const fse = require('fs-extra'); const path = require('path'); -const get = require('lodash.get'); -const set = require('lodash.set'); -const values = require('lodash.values'); const rimraf = require('rimraf'); const zipper = require('zip-local'); +const {get, set, values} = require('lodash'); /** * Make a symlink diff --git a/lib/pip.js b/lib/pip.js index ba07670c..4f1b5c06 100644 --- a/lib/pip.js +++ b/lib/pip.js @@ -1,11 +1,9 @@ const fse = require('fs-extra'); const path = require('path'); -const get = require('lodash.get'); -const set = require('lodash.set'); const {spawnSync} = require('child_process'); const {quote} = require('shell-quote'); -const values = require('lodash.values'); const {buildImage, getBindPath} = require('./docker'); +const {get, set, values} = require('lodash'); /** * Install requirements described in requirementsPath to targetPath diff --git a/lib/zip.js b/lib/zip.js index fc94b99f..211b9e53 100644 --- a/lib/zip.js +++ b/lib/zip.js @@ -1,10 +1,8 @@ const fse = require('fs-extra'); const path = require('path'); -const get = require('lodash.get'); -const set = require('lodash.set'); const zipper = require('zip-local'); const BbPromise = require('bluebird'); -const values = require('lodash.values'); +const {get, set, values} = require('lodash'); BbPromise.promisifyAll(fse);