Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

James-Frowen/electron-typescript-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electron Typescript template

Template for an Electron application using typescript.

Install

Clone repo

git clone https://github.com/James-Frowen/electron-typescript-template.git

Install dependencies

npm install

Compile

If typescript is install globally

tsc

Within vscode

Project includes vscode task to build, Build task default keyboard shortcut.

ctrl + shift + B

This will watch typescript files and compile on change

Run

Start with npm script (also runs tsc before start)

npm start

or if electron is install globally

electron .