* feat: show udev rules on missing device screen * delete MissingDeviceComponent * feat: change privilege and message device screen texts * feat: change message device screen texts * fix: load config from device * fix: load config when hasPermission = true * fix: load app start info after set permission rules * fix: action dispatch * fix: load config from device when UdevRulesInfo.Ok * fix: load config from device when 0 device available * feat: add extra space between the "old udev rule" and permission button
41 lines
1.3 KiB
JSON
41 lines
1.3 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",
|
|
"node-hid": "0.7.3",
|
|
"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",
|
|
"electron:spe": "electron ./dist/electron-main.js --spe",
|
|
"build": "webpack && npm run install:build-deps && npm run build:usb && npm run download-firmware && npm run copy-to-tmp-folder",
|
|
"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-to-tmp-folder": "node ../../scripts/copy-to-tmp-folder.js"
|
|
}
|
|
}
|