switching npm registry based on directory

前端 未结 3 453
余生分开走
余生分开走 2021-02-07 03:21

I have recently started developing for node. The company that I work for has an internal npm registry. I want to know how to use different registry settings depending upon where

3条回答
  •  南方客
    南方客 (楼主)
    2021-02-07 04:02

    https://github.com/npm/npm/issues/4751

    npm recently added support for per-package .npmrc files, should do what you want.

提交回复
热议问题