babel-plugin-explicit-exports-references-jsx-support

Transforms all internal references to a module's exports such that each reference starts with `module.exports` instead of directly referencing an internal name. This enables easy mocking of specific (exported) functions in Jest with Babel/TypeScript, even

lexical-scope

detect global and local lexical identifiers from javascript source code