Make the uhkcmd script work and add a package.json for it.
This commit is contained in:
12
usb/package.json
Normal file
12
usb/package.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "agent-usb",
|
||||
"version": "1.0.0",
|
||||
"description": "Agent preliminary USB code",
|
||||
"main": "UhkConnection.js",
|
||||
"license": "GPL-3.0",
|
||||
"dependencies": {
|
||||
"ramda": "^0.22.1",
|
||||
"underscore.string": "^3.3.4",
|
||||
"usb": "^1.2.0"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env node
|
||||
'use strict';
|
||||
|
||||
var UhkConnection = require('./lib/UhkConnection');
|
||||
var UhkConnection = require('./UhkConnection');
|
||||
var R = require('ramda');
|
||||
var path = require('path');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user