Electron + React + Typescript = 😍
This is small boilerplate of Electron integrated of React and Typescript structure ready for development.
Read documentation in Protuguese Version
-
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.
-
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!