diff --git a/browser/index.js b/browser/index.js index 3ad996d..ea14c30 100644 --- a/browser/index.js +++ b/browser/index.js @@ -1,5 +1 @@ -const SimpleStorage = require('./simpleStorage'); - -module.exports = { - SimpleStorage, -}; +module.exports.SimpleStorage = require('./simpleStorage'); diff --git a/node/index.js b/node/index.js index e4707fc..9b31a09 100644 --- a/node/index.js +++ b/node/index.js @@ -1,17 +1,7 @@ -const { AppConfiguration } = require('./appConfiguration'); -const { EnvironmentUtils } = require('./environmentUtils'); -const { ErrorHandler } = require('./errorHandler'); -const { Logger } = require('./logger'); -const { packageInfo } = require('./packageInfo'); -const { PathUtils } = require('./pathUtils'); -const { rootRequire } = require('./rootRequire'); - -module.exports = { - AppConfiguration, - EnvironmentUtils, - ErrorHandler, - Logger, - packageInfo, - PathUtils, - rootRequire, -}; +module.exports.AppConfiguration = require('./appConfiguration').AppConfiguration; +module.exports.EnvironmentUtils = require('./environmentUtils').EnvironmentUtils; +module.exports.ErrorHandler = require('./errorHandler').ErrorHandler; +module.exports.Logger = require('./logger').Logger; +module.exports.packageInfo = require('./packageInfo').packageInfo; +module.exports.PathUtils = require('./pathUtils').PathUtils; +module.exports.rootRequire = require('./rootRequire').rootRequire; diff --git a/node/providers.js b/node/providers.js index 11026b6..25038f4 100644 --- a/node/providers.js +++ b/node/providers.js @@ -11,17 +11,15 @@ const { packageInfoProvider } = require('./packageInfo'); const { pathUtils, pathUtilsWithHome } = require('./pathUtils'); const { rootRequireProvider } = require('./rootRequire'); -module.exports = { - appConfiguration, - environmentUtils, - errorHandlerWithOptions, - errorHandler, - loggerWithOptions, - logger, - appLoggerWithOptions, - appLogger, - packageInfo: packageInfoProvider, - pathUtils, - pathUtilsWithHome, - rootRequire: rootRequireProvider, -}; +module.exports.appConfiguration = appConfiguration; +module.exports.environmentUtils = environmentUtils; +module.exports.errorHandlerWithOptions = errorHandlerWithOptions; +module.exports.errorHandler = errorHandler; +module.exports.loggerWithOptions = loggerWithOptions; +module.exports.logger = logger; +module.exports.appLoggerWithOptions = appLoggerWithOptions; +module.exports.appLogger = appLogger; +module.exports.packageInfo = packageInfoProvider; +module.exports.pathUtils = pathUtils; +module.exports.pathUtilsWithHome = pathUtilsWithHome; +module.exports.rootRequire = rootRequireProvider; diff --git a/shared/index.js b/shared/index.js index b9d4123..1288504 100644 --- a/shared/index.js +++ b/shared/index.js @@ -1,13 +1,5 @@ -const APIClient = require('./apiClient'); -const deferred = require('./deferred'); -const EventsHub = require('./eventsHub'); -const extendPromise = require('./extendPromise'); -const ObjectUtils = require('./objectUtils'); - -module.exports = { - APIClient, - deferred, - EventsHub, - extendPromise, - ObjectUtils, -}; +module.exports.APIClient = require('./apiClient'); +module.exports.deferred = require('./deferred'); +module.exports.EventsHub = require('./eventsHub'); +module.exports.extendPromise = require('./extendPromise'); +module.exports.ObjectUtils = require('./objectUtils');