Make version and name optional

Re isaacs/npm#3146
v0.2.0