node--npm 命令

tar xvf node-v10.15.3-linux-x64.tar



#初始化
npm install

#安装脚本编译
npm install -g typescript
npm run build

#jscheck
npm run check

#部署dev
npm run dev
#后台启动prod
npm start 


npm run start:redis



###########

npm audit
npm update handlebars --depth 3
npm audit
npm audit fix


#############

*   通过pm2启动管理
pm2 status

pm2 start 1

pm2 stop rap-server-delos

pm2 show rap-server-delos

pm2 restart 1

pm2 show 1

pm2 logs redis-server
pm2 logs 0

pm2 show 1


pm2 restart 1
pm2 restart 0