Rebuild node-hid for the usb repo to avoid "dev 1d50 / 6122 : usage_page:312d, usage:2e30" messages when using USB scripts.

This commit is contained in:
László Monda
2019-05-22 18:09:36 +02:00
parent 2c93975c77
commit 2dfb61a38e

View File

@@ -6,6 +6,7 @@
"license": "GPL-3.0",
"devDependencies": {
"@types/node": "8.0.28",
"node-gyp": "^4.0.0",
"shx": "0.2.2",
"typescript": "2.6.2"
},
@@ -19,5 +20,9 @@
"tmp": "0.0.33",
"uhk-common": "1.0.0",
"uhk-usb": "1.0.0"
},
"scripts": {
"build": "npm run build:usb",
"build:usb": "cd node_modules/node-hid && node-gyp rebuild"
}
}