What is the best practice of package.json & tsconfig.json in a NodeJS Appliation to use typescript?
I'm Exploring the best practices for package.json & tsconfig.json combo in a Node.js + TypeScript setup — figuring out about ESM, ts-node, proper compiler options, and runtime compatibility. Still unsure if I’m doing it “the right way” but digging deep and learning fast. Open to any feedback or corrections 🙌. For dev should I still use nodemon or are there any alternatives available ?- Some of the difficulties I faced was improper imports with usage of extensions or not.- Idk if transpiling is required or not- and other options inside the tsconfigI referred some youtube tutorials & blogs for it but wasnt satisfying.(https://www.totaltypescript.com/tsconfig-cheat-sheet) - this provided some light but what is the best or optimal practice to maintain is still a mystery to me.Also am lost on the dev script in package.json 🙂
Total TypeScript
The TSConfig Cheat Sheet
Learn the essential TypeScript configuration options and create a concise tsconfig.json file for your projects with this helpful cheatsheet.
0 Replies