restore npmrc on install