import _ from 'lodash';
import requireDirectory from 'require-directory';

function renamer(name) {
  return _.camelCase(name);
}

export default requireDirectory(module, __dirname, { rename: renamer });

import requireDirectory from 'require-directory';

function renamer(name) {
  return name.toLowerCase();
}

export default requireDirectory(module, __dirname, { rename: renamer });

Use toLowerCase instead of _.camelCase
Use toLowerCase instead of _.camelCase
