Take a node.js script and recursively discover all the files it requires.