Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.09 KB | None | 0 0
  1. "babel": {
  2. "plugins": [
  3. [
  4. "@babel/plugin-proposal-class-properties",
  5. {
  6. "loose": false
  7. }
  8. ],
  9. [
  10. "lodash",
  11. {
  12. "id": [
  13. "lodash",
  14. "recompose"
  15. ]
  16. }
  17. ],
  18. [
  19. "module-resolver",
  20. {
  21. "root": [
  22. "./"
  23. ],
  24. "alias": {
  25. "@reactioncommerce/reaction-collections": "./imports/plugins/core/collections",
  26. "@reactioncommerce/reaction-components": "./imports/plugins/core/components/lib",
  27. "@reactioncommerce/reaction-graphql-utils": "./imports/plugins/core/graphql/server/no-meteor/util",
  28. "@reactioncommerce/reaction-graphql-xforms": "./imports/plugins/core/graphql/server/no-meteor/xforms",
  29. "@reactioncommerce/reaction-router": "./imports/plugins/core/router/lib",
  30. "@reactioncommerce/reaction-ui": "./imports/plugins/core/ui/client/components",
  31. "@reactioncommerce/reaction-error": "./imports/utils/ReactionError.js",
  32. "underscore": "lodash"
  33. }
  34. }
  35. ]
  36. ],
  37. "env": {
  38. "reaction-node": {
  39. "presets": [
  40. [
  41. "@babel/env",
  42. {
  43. "targets": {
  44. "node": "current"
  45. }
  46. }
  47. ]
  48. ],
  49. "plugins": [
  50. "babel-plugin-inline-import",
  51. [
  52. "@babel/plugin-proposal-decorators",
  53. {
  54. "legacy": true
  55. }
  56. ],
  57. "@babel/plugin-proposal-function-sent",
  58. "@babel/plugin-proposal-export-namespace-from",
  59. "@babel/plugin-proposal-numeric-separator",
  60. "@babel/plugin-proposal-throw-expressions",
  61. "@babel/plugin-syntax-dynamic-import",
  62. "@babel/plugin-syntax-import-meta",
  63. [
  64. "@babel/plugin-proposal-class-properties",
  65. {
  66. "loose": false
  67. }
  68. ],
  69. "@babel/plugin-proposal-json-strings",
  70. [
  71. "module-resolver",
  72. {
  73. "root": [
  74. "./"
  75. ],
  76. "alias": {
  77. "@reactioncommerce/reaction-collections": "./imports/plugins/core/collections",
  78. "@reactioncommerce/reaction-components": "./imports/plugins/core/components/lib",
  79. "@reactioncommerce/reaction-graphql-utils": "./imports/plugins/core/graphql/server/no-meteor/util",
  80. "@reactioncommerce/reaction-graphql-xforms": "./imports/plugins/core/graphql/server/no-meteor/xforms",
  81. "@reactioncommerce/reaction-router": "./imports/plugins/core/router/lib",
  82. "@reactioncommerce/reaction-ui": "./imports/plugins/core/ui/client/components",
  83. "@reactioncommerce/reaction-error": "./imports/utils/ReactionError.js",
  84. "meteor": "./imports/node-app/mockmeteor",
  85. "underscore": "lodash"
  86. }
  87. }
  88. ]
  89. ]
  90. },
  91. "jesttest": {
  92. "presets": [
  93. [
  94. "@babel/env",
  95. {
  96. "targets": {
  97. "node": "current"
  98. }
  99. }
  100. ],
  101. [
  102. "@babel/preset-react"
  103. ]
  104. ],
  105. "plugins": [
  106. "rewire-exports",
  107. "babel-plugin-inline-import",
  108. [
  109. "@babel/plugin-proposal-decorators",
  110. {
  111. "legacy": true
  112. }
  113. ],
  114. "@babel/plugin-proposal-function-sent",
  115. "@babel/plugin-proposal-export-namespace-from",
  116. "@babel/plugin-proposal-numeric-separator",
  117. "@babel/plugin-proposal-throw-expressions",
  118. "@babel/plugin-syntax-dynamic-import",
  119. "@babel/plugin-syntax-import-meta",
  120. [
  121. "@babel/plugin-proposal-class-properties",
  122. {
  123. "loose": false
  124. }
  125. ],
  126. "@babel/plugin-proposal-json-strings",
  127. [
  128. "module-resolver",
  129. {
  130. "root": [
  131. "./"
  132. ],
  133. "alias": {
  134. "@reactioncommerce/reaction-collections": "./imports/plugins/core/collections",
  135. "@reactioncommerce/reaction-components": "./imports/plugins/core/components/lib",
  136. "@reactioncommerce/reaction-graphql-utils": "./imports/plugins/core/graphql/server/no-meteor/util",
  137. "@reactioncommerce/reaction-graphql-xforms": "./imports/plugins/core/graphql/server/no-meteor/xforms",
  138. "@reactioncommerce/reaction-router": "./imports/plugins/core/router/lib",
  139. "@reactioncommerce/reaction-ui": "./imports/plugins/core/ui/client/components",
  140. "@reactioncommerce/reaction-error": "./imports/utils/ReactionError.js",
  141. "meteor": "./imports/test-utils/__mocks__/meteor",
  142. "underscore": "lodash"
  143. }
  144. }
  145. ]
  146. ]
  147. }
  148. }
  149. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement