From 0f9a730bdf4db26a68df0ed6c430fbed6fe63d36 Mon Sep 17 00:00:00 2001 From: David Kebler Date: Mon, 29 May 2017 10:22:14 -0700 Subject: [PATCH] add device class back to this package - remove promise q from bus module. --- index.js | 2 +- package.json | 7 +++---- {lib => src}/bus.js | 0 {lib => src}/device.js | 0 4 files changed, 4 insertions(+), 5 deletions(-) rename {lib => src}/bus.js (100%) rename {lib => src}/device.js (100%) diff --git a/index.js b/index.js index 996d57a..f84fe28 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,5 @@ let opts = { - dirname: __dirname + '/lib', + dirname: __dirname + '/src', // http://stackoverflow.com/questions/2078915/a-regular-expression-to-exclude-a-word-string filter: /^(?!index)([^\.].*)\.js?$/, recursive: false, diff --git a/package.json b/package.json index d736754..449b906 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@uci/i2c", - "version": "0.0.1", + "version": "0.1.0", "description": "Bus and Device Classes for I2C Interfacing", "main": "index.js", "scripts": { @@ -24,9 +24,8 @@ }, "homepage": "https://github.com/uCOMmandIt/i2c#readme", "dependencies": { - "@uci/require-all": "^2.3.0", - "i2c-bus": "^1.2.0", - "pify": "^2.3.0" + "@uci/require-all": "^2.x", + "i2c-bus": "^1.x" }, "devDependencies": { "chai": "^3.5.0", diff --git a/lib/bus.js b/src/bus.js similarity index 100% rename from lib/bus.js rename to src/bus.js diff --git a/lib/device.js b/src/device.js similarity index 100% rename from lib/device.js rename to src/device.js