This commit is contained in:
sexygoat
2026-03-31 18:41:52 +08:00
commit 3c62cc1cd1
527 changed files with 96725 additions and 0 deletions

12
.npmrc Normal file
View File

@@ -0,0 +1,12 @@
# 设置npm包的下载源为国内镜像加速包下载
registry=https://registry.npmmirror.com/
# 将依赖包提升到node_modules根目录减少嵌套层级
shamefully-hoist=true
# 关闭严格的对等依赖检查,避免因对等依赖版本不匹配而安装失败
strict-peer-dependencies=false
# 自动安装对等依赖,无需手动安装
auto-install-peers=true
# 对等依赖去重,减少重复安装
dedupe-peer-dependents=true
# 使用提升模式链接依赖与npm兼容性更好
node-linker=hoisted