📜  如何运行 ts 文件 - TypeScript 代码示例

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

代码示例3
"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'"
}