46 lines
1.4 KiB
JSON
46 lines
1.4 KiB
JSON
{
|
|
"name": "uhk-agent",
|
|
"main": "electron-main.js",
|
|
"version": "0.0.0",
|
|
"description": "Agent is the configuration application of the Ultimate Hacking Keyboard.",
|
|
"author": "Ultimate Gadget Laboratories",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:UltimateHackingKeyboard/agent.git"
|
|
},
|
|
"license": "GPL-3.0",
|
|
"engines": {
|
|
"node": ">=8.1.0 <9.0.0",
|
|
"npm": ">=5.1.0 <6.0.0"
|
|
},
|
|
"dependencies": {
|
|
"command-line-args": "4.0.7",
|
|
"decompress": "4.2.0",
|
|
"decompress-bzip2": "4.0.0",
|
|
"electron": "1.7.9",
|
|
"electron-is-dev": "0.1.2",
|
|
"electron-log": "2.2.9",
|
|
"electron-rebuild": "1.6.0",
|
|
"electron-settings": "3.1.2",
|
|
"electron-updater": "2.15.0",
|
|
"node-hid": "0.5.4",
|
|
"sudo-prompt": "7.0.0",
|
|
"tmp": "0.0.33",
|
|
"uhk-common": "^1.0.0",
|
|
"uhk-usb": "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/decompress": "4.2.0",
|
|
"@types/node": "8.0.33",
|
|
"@types/tmp": "0.0.33"
|
|
},
|
|
"scripts": {
|
|
"start": "electron ./dist/electron-main.js",
|
|
"build": "webpack && npm run install:build-deps && npm run build:usb && npm run download-firmware && npm run copy-blhost",
|
|
"build:usb": "electron-rebuild -w node-hid -p -m ./dist",
|
|
"install:build-deps": "cd ./dist && npm i",
|
|
"download-firmware": "node ../../scripts/download-firmware.js",
|
|
"copy-blhost": "node ../../scripts/copy-blhost.js"
|
|
}
|
|
}
|