Updated task resolution to look for package.json instead of package main

Updated task resolution to use `#{moduleName}/package.json` instead of just `#{moduleName}`, so that the existence of `package.json`, alone, will resolve the task, rather than `package.json` having a main.

Submitting as a PR so that others can make sure I've got the right idea.