2024-06-08 20:52:49 +08:00
|
|
|
#为项目单独设置镜像
|
2023-09-06 03:00:17 +08:00
|
|
|
registry=https://registry.npmmirror.com
|
2024-06-08 20:52:49 +08:00
|
|
|
# canvas
|
|
|
|
canvas_binary_host_mirror=https://ghproxy.com/https://github.com/Automattic/node-canvas/releases/download/
|
|
|
|
# node-sass
|
|
|
|
sass_binary_site=https://npmmirror.com/mirrors/node-sass/
|
|
|
|
# sqlite3
|
2023-10-16 23:15:50 +08:00
|
|
|
node_sqlite3_binary_host_mirror=https://npmmirror.com/mirrors/sqlite3
|
2024-06-08 20:52:49 +08:00
|
|
|
# TFJS
|
|
|
|
TFJS_NODE_CDN_STORAGE=https://cdn.npmmirror.com/binaries/
|
|
|
|
# pup
|
|
|
|
PUPPETER_DOWNLOAD_BASE_URL=https://npmmirror.com/mirrors/chrome-for-testing
|
|
|
|
# 不生成lock
|
|
|
|
package-lock=false
|
|
|
|
# 改为 npm 依赖安装方式
|
|
|
|
node-linker=hoisted
|
|
|
|
# 可耻的提升
|
|
|
|
shamefully-hoist=true
|
|
|
|
# 严格的对等依赖关系
|
|
|
|
strict-peer-dependencies=false
|
|
|
|
#
|
2023-11-12 22:59:11 +08:00
|
|
|
sharp_binary_host=https://npmmirror.com/mirrors/sharp
|
2024-06-08 20:52:49 +08:00
|
|
|
#
|
2023-11-12 22:59:11 +08:00
|
|
|
sharp_libvips_binary_host=https://npmmirror.com/mirrors/sharp-libvips
|