Wener Site

npmrc

约 1 分钟阅读
标签:配置
ini
//registry.npmjs.org/:_authToken=
# //gitlab.com/api/v4/projects/$ID/packages/npm/:_authToken=
# //npm.pkg.github.com/:_authToken=
registry=https://registry.npmmirror.com/
sharp_binary_host=https://npmmirror.com/mirrors/sharp
sharp_libvips_binary_host=https://npmmirror.com/mirrors/sharp-libvips
init.type=module

# @myscope:registry=https://mycustomregistry.example.org
# //mycustomregistry.example.org:_authToken=
bash
npm login
  • auth
    • _auth Base64
    • _authToken (authentication token)
    • username
    • _password
    • email
    • certfile path -> cert
    • keyfile path -> key

env fallback

text
PUPPETEER_DOWNLOAD_BASE_URL
npm_config_puppeteer_download_base_url
npm_package_config_puppeteer_download_base_url

关联信息

反向链接和本文引用的外部资料。

References

GitHub

1 条

其他外链

1 条
最近更新commit 9483fedEdit

On this page