Added support for ~/.npmrc generation