Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Latest commit

 

History

History
39 lines (27 loc) · 813 Bytes

PACKAGING.md

File metadata and controls

39 lines (27 loc) · 813 Bytes

Order of Operation

Command

npm run release

Underneath the hood

  1. Create the react bundle inside the build directory,

    • have to run this first because it will override everything in the build directory;
    • create index.html & static/
    react-scripts build
  2. Create build/electron directory and the entry point file bundle.js

    webpack -p --config ./config/webpack.dev.config.js
  3. Now you can build the os-specific executable

    electron-builder

Relevant files

  1. .env

    • environment variables use by react-script to generate the correct content for build/index.html
  2. electron-builder.yml

    • configuration for electron-builder
  3. package.json

    • dependencies and scripts