gabriel / electron-react-typescript-boilerplate

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:MIT License


Languages

Language:TypeScript 46.3%Language:JavaScript 43.6%Language:CSS 8.1%Language:HTML 2.0%