I like the idea of detecting the `package.json`. Would this look for the first `package.json` in its parent folders?

That way, `/my-project/nonbin/app.js` would still work as long as `my-project/package.json` exists.