N
Don't forget to use the dev flag!!!
Yarn:
yarn global add --dev typescript
NPM:
npm install -g --save-dev typescript
N
"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'"
}