zoukankan      html  css  js  c++  java
  • npm常用命令

    npm install 安装模块
    npm uninstall 卸载模块
    npm update 更新模块
    npm outdated 检查模块是否已经过时
    npm ls 查看安装的模块
    npm init 在项目中引导创建一个package.json文件
    npm help 查看某条命令的详细帮助
    npm root 查看包的安装路径
    npm config 管理npm的配置路径
    npm cache 管理模块的缓存
    npm start 启动模块
    npm stop 停止模块
    npm restart 重新启动模块
    npm test 测试模块
    npm version 查看模块版本
    npm view 查看模块的注册信息
    npm adduser 用户登录
    npm publish 发布模块
    npm access 在发布的包上设置访问级别 

      npm install -g express
      npm cache clean -f
      npm cache verify
      npm config get registry
      npm config get disturl
      npm config set registry https://registry.npm.taobao.org --global
      npm config set disturl https://npm.taobao.org/dist --global
      yarn config set registry https://registry.npm.taobao.org

     
  • 相关阅读:
    对象生成xml
    Memcache使用指南
    java实现AES加密解密
    Log4j常用的配置说明
    java利用dom4j对任意xml的解析
    一个不错的JDBC连接池教程
    jwt介绍
    model基础操作
    图书管理系统前端
    图书管理系统后端
  • 原文地址:https://www.cnblogs.com/kerwincui/p/8504754.html
Copyright © 2011-2022 走看看