dev-notes/Node.js/Electron.js/Electron.md
2021-01-31 11:05:37 +01:00

487 B

Electron

Installation

electron-app/
├── package.json
├── main.js
└── index.html
npm i -D electron@latest  # electron@beta for beta version
{
  "name": "<app_name>",
  "version": "<SemVer>",
  "description": "",
  "main": "main.js",
  "scripts": {
    "start": "electron ."
  },
  "keywords": [],
  "author": "",
  "license": "",
  "devDependencies": {
    "electron": "<electron_version>"
  }
}