$ tsc --init
$ npm init -y
- update tsconfig.json file with following entry
"outDir": "./build" "rootDir": "./src"
Write console.log("Message")
$ tsc
$ node ./build/index.js
$ npm install --save-dev nodemon concurrently
$ npm start
$ tsc --init
$ npm init -y
"outDir": "./build" "rootDir": "./src"
Write console.log("Message")
$ tsc
$ node ./build/index.js
$ npm install --save-dev nodemon concurrently
$ npm start