diff --git a/scripts/install-deps.js b/scripts/install-deps.js index 8291250b..59351bbe 100755 --- a/scripts/install-deps.js +++ b/scripts/install-deps.js @@ -5,21 +5,18 @@ const vars = require('./vars') const log = require('npmlog') log.info('deps', 'app') -sh.exec('npm prune') -sh.exec('npm install') -sh.exec('npm update --dev') +sh.exec('yarn prune') +sh.exec('yarn install') sh.cd('app') -sh.exec('npm prune') -sh.exec('npm install') -sh.exec('npm update --dev') +sh.exec('yarn prune') +sh.exec('yarn install') sh.cd('..') vars.builtinPlugins.forEach(plugin => { log.info('deps', plugin) sh.cd(plugin) - sh.exec('npm prune') - sh.exec('npm install') - sh.exec('npm update --dev') + sh.exec('yarn prune') + sh.exec('yarn install') sh.cd('..') })