Also, clean out the docs and prune the tree before making a release
tarball, to keep as much cruft as possible out of the release tarball.
PR-URL: https://github.com/npm/npm/pull/10798
Credit: @othiym23
Moving away from publishConfig, towards per-project config.
This means I can stop typing '--save-prefix=~' every time I install
a dependency in npm! Hooray!