recognize require('foo/bar') as a dependency on foo

The node docs don't call it out, but requiring arbitrary files from within a node module works just fine.