I am currently working on developing a web application using Electron written in Typescript and I am facing some challenges during the building process. Specifically, I am unsure of how to properly combine the commands tsc
(used to convert my .ts file to .js) and then electron dist/main.js
. Ideally, I would like to use npm start
to compile my .ts file first before running Electron. Can anyone provide guidance on the most effective approach to accomplish this task?