Try to infer name from package.json when one isn't provided