Typescript 编译 (tsc)
npm run nodemon -D
npm run concurrently -D
"scripts": {
"dev:build": "tsc -w", // 编译并监听 ts 代码变动
"dev:start": "nodemon node ./build/index.js", // npm 装置 nodemon,监听 js 代码变动
"dev": "concurrently npm:dev:*" // npm 装置 concourrently,编译 & 监听 ts 文件变动
},