install-deps.js 277 B

1234567891011121314
  1. #!/usr/bin/env node
  2. const sh = require('shelljs')
  3. const path = require('path')
  4. const vars = require('./vars')
  5. sh.exec('npm prune')
  6. sh.exec('npm install')
  7. vars.builtinPlugins.forEach(plugin => {
  8. sh.cd(plugin)
  9. sh.exec('npm prune')
  10. sh.exec('npm install')
  11. sh.cd('..')
  12. })