Do we need to restrict js files to the `lib/` directory? Would it be possible to find all the paths that are passed in to `require()`? If it's too much effort then I think this would be fine as long as we also supported nested directories like @svizzari mentioned.