Template for an Electron application using typescript.
Clone repo
git clone https://github.com/James-Frowen/electron-typescript-template.git
Install dependencies
npm install
If typescript is install globally
tsc
Project includes vscode task to build, Build task default keyboard shortcut.
ctrl + shift + B
This will watch typescript files and compile on change
Start with npm script (also runs tsc
before start)
npm start
or if electron is install globally
electron .