Last active
December 29, 2021 19:01
-
-
Save thatisuday/a7dbfef545acc107ece02e8cd6893306 to your computer and use it in GitHub Desktop.
A sample package.json file for the electron-builder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "electron-lessons", | |
"version": "1.0.0", | |
"description": "A sample Electron (JS) project for Medium lessons.", | |
"main": "app/index.js", | |
"scripts": { | |
"start": "electron .", | |
"postinstall": "electron-builder install-app-deps", | |
"pack": "electron-builder -nwl" | |
}, | |
"repository": { | |
"type": "git", | |
"url": "git+https://github.com/course-one/electron-lessons.git" | |
}, | |
"author": { | |
"name": "Uday Hiwarale", | |
"email": "[email protected]", | |
"url": "https://thatisuday.com" | |
}, | |
"license": "MIT", | |
"bugs": { | |
"url": "https://github.com/course-one/electron-lessons/issues" | |
}, | |
"homepage": "https://github.com/course-one/electron-lessons#readme", | |
"devDependencies": { | |
"electron": "^11.1.1", | |
"electron-builder": "^22.9.1" | |
}, | |
"dependencies": { | |
"chokidar": "^3.4.3", | |
"drag-drop": "^6.1.0", | |
"fs-extra": "^9.0.1", | |
"open": "^7.3.0" | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe there is a typo in line 9. It should read:
"pack": "electron-builder -mwl"
i.e: -nwl should change to: -mwl