attach the node version to the published document
Disabled `prepublish` when running production mode install.

See discussion in #3059.