设置镜像
npm config set registry https://registry.npmmirror.com
npm config get registry
初始化,生成package.json文件
npm init -y
安装开发依赖
npm i -d xxx