HomeBridge Reboot

- New "homebridge" CLI
- Finds and loads locally-installed "providers" from user home dir
- Written in ES6 with babel/register
This commit is contained in:
Nick Farina
2015-07-07 18:40:23 -07:00
parent 05e17be277
commit ab2f25e736
27 changed files with 181 additions and 4013 deletions

14
lib/homebridge.js Normal file
View File

@@ -0,0 +1,14 @@
import fs from 'fs';
import cli from './homebridge/cli';
//
// Main HomeBridge Module with global exports.
//
// HomeBridge version
export const HOMEBRIDGE_VERSION = JSON.parse(fs.readFileSync('package.json')).version;
// HomeBridge CLI
export { cli }
// HomeBridge API