This is the configuration I use to write an Electron app in TypeScript and package it into a single .exe
file for Windows distribution.
Package the app by running:
npm run dist
This typically also includes my other configuration setup at https://github.com/iansan5653/ts-boilerplate.