node安装后 .npmrc 配置阿里库配置

prefix=E:/apps/nodejs/node-vX.X.X-win-x64/node_global
cache=E:/apps/nodejs/node-vX.X.X-win-x64/node_cache
home=http://npmmirror.com
registry=https://registry.npmmirror.com/
disturl=http://npmmirror.com/dist
chromedriver-cdnurl=http://npmmirror.com/mirrors/chromedriver
couchbase-binary-host-mirror=http://npmmirror.com/mirrors/couchbase/v{version}
debug-binary-host-mirror=http://npmmirror.com/mirrors/node-inspector
electron-mirror=http://npmmirror.com/mirrors/electron/
flow-bin-binary-host-mirror=http://npmmirror.com/mirrors/flow/v
fse-binary-host-mirror=http://npmmirror.com/mirrors/fsevents
fuse-bindings-binary-host-mirror=http://npmmirror.com/mirrors/fuse-bindings/v{version}
git4win-mirror=http://npmmirror.com/mirrors/git-for-windows
gl-binary-host-mirror=http://npmmirror.com/mirrors/gl/v{version}
grpc-node-binary-host-mirror=http://npmmirror.com/mirrors
hackrf-binary-host-mirror=http://npmmirror.com/mirrors/hackrf/v{version}
leveldown-binary-host-mirror=http://npmmirror.com/mirrors/leveldown/v{version}
leveldown-hyper-binary-host-mirror=http://npmmirror.com/mirrors/leveldown-hyper/v{version}
mknod-binary-host-mirror=http://npmmirror.com/mirrors/mknod/v{version}
node-sqlite3-binary-host-mirror=http://npmmirror.com/mirrors
node-tk5-binary-host-mirror=http://npmmirror.com/mirrors/node-tk5/v{version}
nodegit-binary-host-mirror=http://npmmirror.com/mirrors/nodegit/v{version}/
operadriver-cdnurl=http://npmmirror.com/mirrors/operadriver
phantomjs-cdnurl=http://npmmirror.com/mirrors/phantomjs
profiler-binary-host-mirror=http://npmmirror.com/mirrors/node-inspector/
puppeteer-download-host=http://npmmirror.com/mirrors
python-mirror=http://npmmirror.com/mirrors/python
rabin-binary-host-mirror=http://npmmirror.com/mirrors/rabin/v{version}
sass-binary-site=http://npmmirror.com/mirrors/node-sass
sodium-prebuilt-binary-host-mirror=http://npmmirror.com/mirrors/sodium-prebuilt/v{version}
sqlite3-binary-site=http://npmmirror.com/mirrors/sqlite3
utf-8-validate-binary-host-mirror=http://npmmirror.com/mirrors/utf-8-validate/v{version}
utp-native-binary-host-mirror=http://npmmirror.com/mirrors/utp-native/v{version}
zmq-prebuilt-binary-host-mirror=http://npmmirror.com/mirrors/zmq-prebuilt/v{version}
sass_binary_site="https://registry.npmmirror.com/binary.html?path=node-sass"

目前我的配置

;;;;
; npm userconfig file: C:\Users\98450\.npmrc
; this is a simple ini-formatted file
; lines that start with semi-colons are comments
; run `npm help 7 config` for documentation of the various options
;
; Configs like `@scope:registry` map a scope to a given registry url.
;
; Configs like `//<hostname>/:_authToken` are auth that is restricted
; to the registry host specified.

cache = "D:\\develop\\Nvm\\nvm\\v16.17.0\\node_cache"
chromedriver-cdnurl = "https://npmmirror.com/mirrors/chromedriver"
couchbase-binary-host-mirror = "https://npmmirror.com/mirrors/couchbase/v{version}"
debug-binary-host-mirror = "https://npmmirror.com/mirrors/node-inspector"
disturl = "https://npmmirror.com/dist"
flow-bin-binary-host-mirror = "https://npmmirror.com/mirrors/flow/v"
fse-binary-host-mirror = "https://npmmirror.com/mirrors/fsevents"
fuse-bindings-binary-host-mirror = "https://npmmirror.com/mirrors/fuse-bindings/v{version}"
git4win-mirror = "https://npmmirror.com/mirrors/git-for-windows"
gl-binary-host-mirror = "https://npmmirror.com/mirrors/gl/v{version}"
grpc-node-binary-host-mirror = "https://npmmirror.com/mirrors"
hackrf-binary-host-mirror = "https://npmmirror.com/mirrors/hackrf/v{version}"
home = "https://npmmirror.com"
leveldown-binary-host-mirror = "https://npmmirror.com/mirrors/leveldown/v{version}"
leveldown-hyper-binary-host-mirror = "https://npmmirror.com/mirrors/leveldown-hyper/v{version}"
mknod-binary-host-mirror = "https://npmmirror.com/mirrors/mknod/v{version}"
node-sqlite3-binary-host-mirror = "https://npmmirror.com/mirrors"
node-tk5-binary-host-mirror = "https://npmmirror.com/mirrors/node-tk5/v{version}"
nodegit-binary-host-mirror = "https://npmmirror.com/mirrors/nodegit/v{version}/"
operadriver-cdnurl = "https://npmmirror.com/mirrors/operadriver"
phantomjs-cdnurl = "https://npmmirror.com/mirrors/phantomjs"
prefix = "D:\\develop\\Nvm\\nvm\\v16.17.0\\node_global"
profiler-binary-host-mirror = "https://npmmirror.com/mirrors/node-inspector/"
puppeteer-download-host = "https://npmmirror.com/mirrors"
python-mirror = "https://npmmirror.com/mirrors/python"
rabin-binary-host-mirror = "https://npmmirror.com/mirrors/rabin/v{version}"
registry = "https://registry.npmmirror.com/"
sass-binary-site = "https://npmmirror.com/mirrors/node-sass"
sodium-prebuilt-binary-host-mirror = "https://npmmirror.com/mirrors/sodium-prebuilt/v{version}"
sqlite3-binary-site = "https://npmmirror.com/mirrors/sqlite3"
utf-8-validate-binary-host-mirror = "https://npmmirror.com/mirrors/utf-8-validate/v{version}"
utp-native-binary-host-mirror = "https://npmmirror.com/mirrors/utp-native/v{version}"
zmq-prebuilt-binary-host-mirror = "https://npmmirror.com/mirrors/zmq-prebuilt/v{version}"

;;;;
; all available options shown below with default values
;;;;


; _auth=null
; access=null
; all=false
; allow-same-version=false
; also=null
; audit=true
; audit-level=null
; auth-type=web
; before=null
; bin-links=true
; browser=null
; ca=null
; cache=C:\Users\98450\AppData\Local/npm-cache
; cache-max=null
; cache-min=0
; cafile=null
; call=
; cert=null
; ci-name=null
; cidr=null
; color=true
; commit-hooks=true
; depth=null
; description=true
; dev=false
; 
; diff-ignore-all-space=false
; diff-name-only=false
; diff-no-prefix=false
; diff-dst-prefix=b/
; diff-src-prefix=a/
; diff-text=false
; diff-unified=3
; dry-run=false
; editor=C:\Windows\notepad.exe
; engine-strict=false
; fetch-retries=2
; fetch-retry-factor=10
; fetch-retry-maxtimeout=60000
; fetch-retry-mintimeout=10000
; fetch-timeout=300000
; force=false
; foreground-scripts=false
; format-package-lock=true
; fund=true
; git=git
; git-tag-version=true
; global=false
; globalconfig=
; global-style=false
; heading=npm
; https-proxy=null
; if-present=false
; ignore-scripts=false
; 
; include-staged=false
; include-workspace-root=false
; init-author-email=
; init-author-name=
; init-author-url=
; init-license=ISC
; init-module=~/.npm-init.js
; init-version=1.0.0
; init.author.email=
; init.author.name=
; init.author.url=
; init.license=ISC
; init.module=~/.npm-init.js
; init.version=1.0.0
; install-links=false
; install-strategy=hoisted
; json=false
; key=null
; legacy-bundling=false
; legacy-peer-deps=false
; link=false
; local-address=null
; location=user
; lockfile-version=null
; loglevel=notice
; logs-dir=null
; logs-max=10
; long=false
; maxsockets=15
; message=%s
; node-options=null
; noproxy=
; offline=false
; 
; omit-lockfile-registry-resolved=false
; only=null
; optional=null
; otp=null
; 
; package-lock=true
; package-lock-only=false
; pack-destination=.
; parseable=false
; prefer-offline=false
; prefer-online=false
; prefix=
; preid=
; production=null
; progress=true
; provenance=false
; proxy=null
; read-only=false
; rebuild-bundle=true
; registry=https://registry.npmjs.org/
; replace-registry-host=npmjs
; save=true
; save-bundle=false
; save-dev=false
; save-exact=false
; save-optional=false
; save-peer=false
; save-prefix=^
; save-prod=false
; scope=
; script-shell=null
; searchexclude=
; searchlimit=20
; searchopts=
; searchstaleness=900
; shell=C:\Windows\system32\cmd.exe
; shrinkwrap=true
; sign-git-commit=false
; sign-git-tag=false
; strict-peer-deps=false
; strict-ssl=true
; tag=latest
; tag-version-prefix=v
; timing=false
; tmp=C:\Users\98450\AppData\Local\Temp
; umask=0
; unicode=false
; update-notifier=true
; usage=false
; user-agent=npm/{npm-version} node/{node-version} {platform} {arch} workspaces/{workspaces} {ci}
; userconfig=~/.npmrc
; version=false
; versions=false
; viewer=browser
; which=null
; 
; workspaces=null
; workspaces-update=true
; yes=null

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值