index.js 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', {
  3. value: true
  4. });
  5. var _exportNames = {
  6. BaseWatchPlugin: true,
  7. JestHook: true,
  8. PatternPrompt: true,
  9. Prompt: true
  10. };
  11. Object.defineProperty(exports, 'BaseWatchPlugin', {
  12. enumerable: true,
  13. get: function () {
  14. return _BaseWatchPlugin.default;
  15. }
  16. });
  17. Object.defineProperty(exports, 'JestHook', {
  18. enumerable: true,
  19. get: function () {
  20. return _JestHooks.default;
  21. }
  22. });
  23. Object.defineProperty(exports, 'PatternPrompt', {
  24. enumerable: true,
  25. get: function () {
  26. return _PatternPrompt.default;
  27. }
  28. });
  29. Object.defineProperty(exports, 'Prompt', {
  30. enumerable: true,
  31. get: function () {
  32. return _Prompt.default;
  33. }
  34. });
  35. var _BaseWatchPlugin = _interopRequireDefault(require('./BaseWatchPlugin'));
  36. var _JestHooks = _interopRequireDefault(require('./JestHooks'));
  37. var _PatternPrompt = _interopRequireDefault(require('./PatternPrompt'));
  38. var _constants = require('./constants');
  39. Object.keys(_constants).forEach(function (key) {
  40. if (key === 'default' || key === '__esModule') return;
  41. if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
  42. if (key in exports && exports[key] === _constants[key]) return;
  43. Object.defineProperty(exports, key, {
  44. enumerable: true,
  45. get: function () {
  46. return _constants[key];
  47. }
  48. });
  49. });
  50. var _Prompt = _interopRequireDefault(require('./lib/Prompt'));
  51. var _patternModeHelpers = require('./lib/patternModeHelpers');
  52. Object.keys(_patternModeHelpers).forEach(function (key) {
  53. if (key === 'default' || key === '__esModule') return;
  54. if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
  55. if (key in exports && exports[key] === _patternModeHelpers[key]) return;
  56. Object.defineProperty(exports, key, {
  57. enumerable: true,
  58. get: function () {
  59. return _patternModeHelpers[key];
  60. }
  61. });
  62. });
  63. function _interopRequireDefault(obj) {
  64. return obj && obj.__esModule ? obj : {default: obj};
  65. }