Don't build without a package.json. Fixes #3049.
Don't build parent for peer deps

It'll already be built when it's installed anyway, and this is a simpler
fix for #3049, and gets around issues where the prefix isn't a package
at all anyway.
Add 'npm run tap' to run tap tests on npm