/electron-with-react-typescript

Small boilerplate integration with React + Electron and Typescript ready for development.

Primary LanguageJavaScriptMIT LicenseMIT

banner

Electron with React + Typescript

Electron + React + Typescript = 😍


This is small boilerplate of Electron integrated of React and Typescript structure ready for development.

Read documentation in Protuguese Version

Scripts available:

  • start: Start development instance running on Electron with React.

  • build: Create a production build of project.

  • build-electron: Copy, create a directory and modify configuration files of electron.

  • package: Create installer extension of project, ready of production.

  • react:pure: Running React whitout running Electron, its best for style your pages and components in development.


Instructions for create a new installer for App:

  • First script: build Is necessary a build folder created for next steps.

  • Second script: build-electron This script that will create a directory with the electron settings, copy the necessary files and make the appropriate modifications.

  • Last script: package Now leave all the heavy lifting to the electron-builder, he will do all the necessary steps to create a quick and practical installer for your application.


📣 WARNING: In src/utils/prepareFilesToPackage.js this file is a script build-electron DON'T EXCLUDE THIS FILE! or your package script smash your app.

Doubts? contact me!

📫 matheus.rj.ig@gmail.com