📜  如何在 cmd 中编译 ts - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:30.595000             🧑  作者: Mango

代码示例2
"scripts": {
    "clean": "rimraf dist",
    "start": "npm-run-all clean --parallel watch:build watch:server --print-label",
    "watch:build": "tsc --watch",
    "watch:server": "nodemon './dist/index.js' --watch './dist'"
}