Skip to content

Latest commit

 

History

History
 
 

Chapter02

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Chapter 2: Building a Markdown Editor

Running the project

npm install
npm start

Publishing to the GitHub

Update the package.json file and provide the build settings:

{
  "build": {
      "appId": "com.my.markdown-editor",
      "publish": {
        "provider": "github",
        "owner": "<account>",
        "repo": "electron-updates"
      }
  }
}

Available NPM scripts

Script Description
start starts the Electron application
build:macos creates a testing build for macOS
publish:github releases the macOS version to the GitHub