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:
@@ -6,6 +6,7 @@
|
|||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "8.0.28",
|
"@types/node": "8.0.28",
|
||||||
|
"node-gyp": "^4.0.0",
|
||||||
"shx": "0.2.2",
|
"shx": "0.2.2",
|
||||||
"typescript": "2.6.2"
|
"typescript": "2.6.2"
|
||||||
},
|
},
|
||||||
@@ -19,5 +20,9 @@
|
|||||||
"tmp": "0.0.33",
|
"tmp": "0.0.33",
|
||||||
"uhk-common": "1.0.0",
|
"uhk-common": "1.0.0",
|
||||||
"uhk-usb": "1.0.0"
|
"uhk-usb": "1.0.0"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"build": "npm run build:usb",
|
||||||
|
"build:usb": "cd node_modules/node-hid && node-gyp rebuild"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user