support package.json with non-js mains

closes #26
0.1.12