-
Notifications
You must be signed in to change notification settings - Fork 8
/
.npmrc
28 lines (25 loc) · 986 Bytes
/
.npmrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
strict-peer-dependencies=true
auto-install-peers=true
legacy-peer-deps=false
dedupe-direct-deps=true
# make copy paste easier
prefer-workspace-packages=true
link-workspace-packages=true
save-workspace-protocol=false
# for WSL cross dev only
# node-linker=hoisted
# Mirror
# ==========
# 有时候镜像不匹配
# registry=https://registry.npmmirror.com/
# 速度还行
registry=https://registry.npmjs.org
disturl=https://npmmirror.com/mirrors/node/
better-sqlite3_binary_host=https://npmmirror.com/mirrors/better-sqlite3/
node_sqlite3_binary_host_mirror=https://npmmirror.com/mirrors/sqlite3/
#puppeteer_download_host=https://npmmirror.com/mirrors/
python_mirror=https://npmmirror.com/mirrors/python/
sharp_binary_host=https://npmmirror.com/mirrors/sharp/
sharp_libvips_binary_host=https://npmmirror.com/mirrors/sharp-libvips/
canvas_binary_host=https://npmmirror.com/mirrors/node-canvas-prebuilt/
puppeteer_download_base_url="https://cdn.npmmirror.com/binaries/chrome-for-testing"