工作中常用的命令

197 阅读1分钟

Windows生成目录树结构文件

在项目的当前文件夹下打开cmd,执行以下命令:

tree /f > list.txt

npm使用淘宝源一次性下载:

npm install --registry=https://registry.npm.taobao.org

快速删除 node_modules

npm install rimraf -g 
rimraf node_modules