Don't hide providers in node_modules

This commit is contained in:
Nick Farina
2015-07-08 08:33:55 -07:00
parent 0e9d237d03
commit 2fc6ff8010
2 changed files with 3 additions and 3 deletions

View File

@@ -32,10 +32,10 @@ Providers must be published to npm and tagged with `homebridge-provider`. The pa
Providers are automatically discovered and loaded from your home directory inside the `.homebridge` folder. For instance, the Lockitron provider would be placed here:
```sh
~/.homebridge/providers/node_modules/homebridge-lockitron
~/.homebridge/providers/homebridge-lockitron
```
Right now you must copy providers manually (or symlink them from another location). The HomeBridge server will load and validate your Provider on startup. You can find an example Provider stub in [example-providers/homebridge-lockitron]().
Right now you must copy providers manually (or symlink them from another location). The HomeBridge server will load and validate your Provider on startup. You can find an example Provider in [example-providers/homebridge-lockitron]().
## Running from Source

View File

@@ -84,6 +84,6 @@ export class Provider {
}
static get installedProvidersDir():string {
return path.join(Provider.userDir, ".homebridge/providers/node_modules");
return path.join(Provider.userDir, ".homebridge/providers");
}
}