This commit is contained in:
Eugene Pankov
2017-05-01 00:01:12 +02:00
parent 21da3bebfb
commit 8837173b1c
9 changed files with 66 additions and 20 deletions

14
scripts/install-deps.js Normal file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env node
const sh = require('shelljs')
const path = require('path')
const vars = require('./vars')
sh.exec('npm prune')
sh.exec('npm install')
vars.builtinPlugins.forEach(plugin => {
sh.cd(plugin)
sh.exec('npm prune')
sh.exec('npm install')
sh.cd('..')
})