{
  "name"    : "your-app",
  "version" : "0.1.0",
"description": "A minimal Electron application",     
  "main"    : "main.js"

"build": {
  "appId": "your.id",
  "app-category-type": "your.app.category.type",
  "win": {
    "iconUrl": "(windows-only) https link to icon"
  }
}

"scripts": {
  "postinstall": "install-app-deps",
  "pack": "build --dir",
  "dist": "build"
}

}

引用js


 "scripts": {
    "start": "electron ."
  },