Do I need the registry defined in .npmrc file when I have the publishConfig defined in package.json?

时间:2019-01-07 12:58:58

标签: npm package.json

I have the publishConfig defined in the package.json to publish to a private repository. Do I need the .npmrc file with custom registry as well for publishing?

1 个答案:

答案 0 :(得分:1)

我相信不会。根据{{​​3}},发布存储库时 npmrc 无效。