index.js 470 B

12345678910111213141516171819202122232425262728
  1. [
  2. 'env',
  3. 'exit',
  4. 'ipc',
  5. 'logger',
  6. 'module',
  7. 'object',
  8. 'openBrowser',
  9. 'pkg',
  10. 'pluginResolution',
  11. 'launch',
  12. 'request',
  13. 'spinner',
  14. 'validate'
  15. ].forEach(m => {
  16. Object.assign(exports, require(`./lib/${m}`))
  17. })
  18. exports.chalk = require('chalk')
  19. exports.execa = require('execa')
  20. exports.semver = require('semver')
  21. Object.defineProperty(exports, 'installedBrowsers', {
  22. enumerable: true,
  23. get () {
  24. return exports.getInstalledBrowsers()
  25. }
  26. })