npm 查看当前生效的配置
生活随笔
收集整理的這篇文章主要介紹了
npm 查看当前生效的配置
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
前言
- npm 6.12.1
- CentOS Linux release 7.9.2009 (Core)
查看當前生效的配置
shell> npm config list --json {"json": true,"user-agent": "npm/6.12.1 node/v12.13.1 linux x64","metrics-registry": "https://registry.npmmirror.com/","scope": "","registry": "https://registry.npmmirror.com/","access": null,"allow-same-version": false,"always-auth": false,"also": null,"audit": true,"audit-level": "low","auth-type": "legacy","before": null,"bin-links": true,"browser": null,"ca": null,"cache": "/root/.npm","cache-lock-stale": 60000,"cache-lock-retries": 10,"cache-lock-wait": 10000,"cache-max": null,"cache-min": 10,"cert": null,"cidr": null,"color": true,"depth": null,"description": true,"dev": false,"dry-run": false,"editor": "vi","engine-strict": false,"force": false,"format-package-lock": true,"fetch-retries": 2,"fetch-retry-factor": 10,"fetch-retry-mintimeout": 10000,"fetch-retry-maxtimeout": 60000,"git": "git","git-tag-version": true,"commit-hooks": true,"global": false,"globalconfig": "/opt/nodejs/node-v12.13.1-linux-x64/etc/npmrc","global-style": false,"group": 0,"ham-it-up": false,"heading": "npm","if-present": false,"ignore-prepublish": false,"ignore-scripts": false,"init-module": "/root/.npm-init.js","init-author-name": "","init-author-email": "","init-author-url": "","init-version": "1.0.0","init-license": "ISC","key": null,"legacy-bundling": false,"link": false,"loglevel": "notice","logs-max": 10,"long": false,"maxsockets": 50,"message": "%s","node-options": null,"node-version": "12.13.1","offline": false,"onload-script": null,"only": null,"optional": true,"otp": null,"package-lock": true,"package-lock-only": false,"parseable": false,"prefer-offline": false,"prefer-online": false,"prefix": "/opt/nodejs/node-v12.13.1-linux-x64","preid": "","production": false,"progress": true,"proxy": null,"https-proxy": null,"noproxy": null,"read-only": false,"rebuild-bundle": true,"rollback": true,"save": true,"save-bundle": false,"save-dev": false,"save-exact": false,"save-optional": false,"save-prefix": "^","save-prod": false,"script-shell": null,"scripts-prepend-node-path": "warn-only","searchopts": "","searchexclude": null,"searchlimit": 20,"searchstaleness": 900,"send-metrics": false,"shell": "/bin/bash","shrinkwrap": true,"sign-git-commit": false,"sign-git-tag": false,"sso-poll-frequency": 500,"sso-type": "oauth","strict-ssl": true,"tag": "latest","tag-version-prefix": "v","timing": false,"tmp": "/tmp","unicode": true,"unsafe-perm": false,"update-notifier": true,"usage": false,"user": 1001,"userconfig": "/root/.npmrc","umask": 18,"version": false,"versions": false,"viewer": "man","globalignorefile": "/opt/nodejs/node-v12.13.1-linux-x64/etc/npmignore" }總結
以上是生活随笔為你收集整理的npm 查看当前生效的配置的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 淘宝NPM镜像、cnmp
- 下一篇: 华硕GX700拆解华硕笔记本电脑如何拆开