Last active
May 30, 2022 16:11
-
-
Save rootVIII/275e47c9715a4e20ae53c530e97757e9 to your computer and use it in GitHub Desktop.
Javascript package-lock.json with Electron
This file contains hidden or 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
# install into node_modules: | |
npm install electron --save-dev | |
npm install electron-builder --save-dev | |
{ | |
"name": "glow_clock", | |
"version": "1.0.0", | |
"main": "main.js", // <-should be createWindow() electron starting point | |
"scripts": { | |
"start": "electron .", | |
"pack": "electron-builder -m", | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"keywords": [], | |
"author": "", | |
"license": "ISC", | |
"description": "", | |
"dependencies": { | |
"electron": "^13.1.2" | |
}, | |
"devDependencies": { | |
"electron-builder": "^22.11.7", | |
"eslint": "^7.28.0", | |
"eslint-config-airbnb-base": "^14.2.1", | |
"eslint-plugin-import": "^2.23.4" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment