diff --git a/client/signup/config/step-components.js b/client/signup/config/step-components.js index 7a0061673e34d..f47d068588030 100644 --- a/client/signup/config/step-components.js +++ b/client/signup/config/step-components.js @@ -16,7 +16,7 @@ import UserSignupComponent from 'signup/steps/user'; import PlansStepWithoutFreePlan from 'signup/steps/plans-without-free'; -module.exports = { +export default { 'design-type': DesignTypeComponent, 'design-type-with-store': DesignTypeWithStoreComponent, domains: DomainsStepComponent, diff --git a/client/signup/config/steps.js b/client/signup/config/steps.js index bd506883b3eb9..f312105e446a8 100644 --- a/client/signup/config/steps.js +++ b/client/signup/config/steps.js @@ -9,7 +9,7 @@ import i18n from 'i18n-calypso'; */ import stepActions from 'lib/signup/step-actions'; -module.exports = { +export default { survey: { stepName: 'survey', props: { diff --git a/client/signup/config/test/lib/signup/step-actions.js b/client/signup/config/test/lib/signup/step-actions.js index 4f6b55c16cd0a..2f46797677f86 100644 --- a/client/signup/config/test/lib/signup/step-actions.js +++ b/client/signup/config/test/lib/signup/step-actions.js @@ -1,2 +1,2 @@ // step-actions stub -module.exports = {}; +export default {}; diff --git a/client/signup/config/test/lib/user/index.js b/client/signup/config/test/lib/user/index.js index 8d7f0311c6600..dd92dc5d4de73 100644 --- a/client/signup/config/test/lib/user/index.js +++ b/client/signup/config/test/lib/user/index.js @@ -2,7 +2,7 @@ * User stub */ -module.exports = () => { +export default () => { return { get() { return {}; diff --git a/client/signup/index.web.js b/client/signup/index.web.js index 9cb06f624c068..acfe10f97aa53 100644 --- a/client/signup/index.web.js +++ b/client/signup/index.web.js @@ -10,7 +10,7 @@ import controller from './controller'; import jetpackConnectController from './jetpack-connect/controller'; import sitesController from 'my-sites/controller'; -module.exports = function() { +export default function() { page( '/start/:flowName?/:stepName?/:stepSectionName?/:lang?', controller.saveRefParameter, diff --git a/client/signup/test/lib/user/index.js b/client/signup/test/lib/user/index.js index 2e71e3ae49434..7e82d94fd6bfc 100644 --- a/client/signup/test/lib/user/index.js +++ b/client/signup/test/lib/user/index.js @@ -4,7 +4,7 @@ var isLoggedIn = false; -module.exports = function() { +export default function() { return { get: function() { return isLoggedIn; diff --git a/client/signup/test/signup/config/steps.js b/client/signup/test/signup/config/steps.js index 1669ee7f5a232..18ac238e3d6ba 100644 --- a/client/signup/test/signup/config/steps.js +++ b/client/signup/test/signup/config/steps.js @@ -1,5 +1,5 @@ // steps.js stub -module.exports = { +export default { 'theme-selection': { stepName: 'theme-selection' }, user: { stepName: 'user' } }; diff --git a/client/signup/utils.js b/client/signup/utils.js index 262b88632edcc..49f3aaac864fd 100644 --- a/client/signup/utils.js +++ b/client/signup/utils.js @@ -127,7 +127,7 @@ function getDestination( destination, dependencies, flowName ) { return flows.filterDestination( destination, dependencies, flowName ); } -module.exports = { +export default { getFlowName: getFlowName, getFlowSteps: getFlowSteps, getStepName: getStepName,