serve typescript files code example
Example 1: tsconfig.json not generated
$ tsc --init
Example 2: how to compile ts in cmd
"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'"
}