yarn add @deep/helper --registry http://npm.fe-daas.deepexi.com/
使用 npm
推荐在项目根目录创建 .npmrc
:
registry=https://registry.npmmirror.com/
@deep=http://npm.fe-daas.deepexi.com/
使用 yarn
如果使用 yarn
,则创建 .yarnrc
:
registry "https://registry.npmmirror.com/"
"@deep:registry" "http://npm.fe-daas.deepexi.com/"