mirror of
https://github.com/mtan93/homebridge.git
synced 2026-04-24 06:13:11 +01:00
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:
14
lib/homebridge.js
Normal file
14
lib/homebridge.js
Normal 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
|
||||
Reference in New Issue
Block a user