zoukankan      html  css  js  c++  java
  • npm

    1. npm 自己的registry 很慢 可以改用淘宝的

    临时用 npm --registry https://registry.npm.taobao.org install 包名
    
    永久设置 npm config set registry https://registry.npm.taobao.org
    

      

    查看registry 的 配置 :npm config get registry

    npm info 包名

    1) npm install 包名

    npm install (npm install <package_name> [--save-prod]) , dependencies

    npm install <package_name> --save-dev, devDependencies

    2) npm uninstall

    3) npm outdated 包名

    eg:

    npm outdated webpack
    Package  Current  Wanted  Latest  Location
    webpack   4.16.1  4.21.0  4.21.0  console-afd
    

      

  • 相关阅读:
    GIT
    curl
    排序算法
    《软件设计师》考点分布
    lua第三方库
    WordPress
    go http
    Unity UI相关总结
    note
    LUA重难点解析
  • 原文地址:https://www.cnblogs.com/Running00/p/9811599.html
Copyright © 2011-2022 走看看