1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-24 06:04:04 +03:00
tabby/scripts/install-deps.js
Eugene Pankov fa6f968e87 .
2017-06-24 14:14:57 +02:00

23 lines
443 B
JavaScript
Executable File

#!/usr/bin/env node
const sh = require('shelljs')
const path = require('path')
const vars = require('./vars')
const log = require('npmlog')
log.info('deps', 'app')
sh.exec('npm prune')
sh.exec('npm update --dev')
sh.cd('app')
sh.exec('npm prune')
sh.exec('npm update --dev')
sh.cd('..')
vars.builtinPlugins.forEach(plugin => {
log.info('deps', plugin)
sh.cd(plugin)
sh.exec('npm prune')
sh.exec('npm update --dev')
sh.cd('..')
})