- mkdir typescript-starter
- cd typescript-starter
- npm init -y
- npm install typescript --save-dev
- npm install @types/node --save-dev
- npx tsc --init
- mkdir src
- touch src/index.ts
- into index => write => console.log("Hellow World")
- npx tsc
- Ready
- npm install --save-dev ts-node nodemon
- touch nodemon.json
- add. { "watch": ["src"], "ext": ".ts,.js", "ignore": [], "exec": "ts-node ./src/index.ts" }
#Page https://khalilstemmler.com/blogs/typescript/node-starter-project/ https://github.com/morjuax/nodeTypeScriptScaffolding/