registry=https://registry.npmmirror.com
@metona-team:registry=https://git.metona.cn/api/packages/MetonaTeam/npm/

# 私有 npm 仓库认证 — 凭据通过环境变量注入，禁止硬编码到仓库。
# 值为 base64("用户名:密码")，在终端设置后再执行 npm install：
#   PowerShell:  $env:GITEA_NPM_AUTH = "<base64 凭据>"
#   CI (Gitea Actions): 在仓库 Settings → Secrets 配置 GITEA_NPM_AUTH
//git.metona.cn/api/packages/MetonaTeam/npm/:_auth=${GITEA_NPM_AUTH}

# 允许包的 postinstall 脚本（electron 需要下载二进制文件）
ignore-scripts=false

# Electron 二进制下载镜像（国内加速，在终端设置环境变量）
# $env:ELECTRON_MIRROR="https://npmmirror.com/mirrors/electron/"
