/electron-react-typescript-boilerplate

Boilerplate for electron + file system + react + react-hot-loader + typescript

Primary LanguageTypeScriptMIT LicenseMIT

Electron + React + Fs + Typescript boilerplate project

Template project for desktop apps using Electron, React and Typescript.

This project enable access to the file system through Node's fs library.





Before everything

As always, install packages:

npm install

During development

As this project uses react-hot-loader during development, we need to launch webpack-dev-server in a process and Electron in another.

So, in the terminal, run:

npm run server

then, in another terminal instance:

npm start

Deploy

Just run:

npm run pack

and the output will be in the ./pack folder.