{"action":"created","issue":{"url":"https://api.github.com/repos/alexbain/lirc_web/issues/37","labels_url":"https://api.github.com/repos/alexbain/lirc_web/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/alexbain/lirc_web/issues/37/comments","events_url":"https://api.github.com/repos/alexbain/lirc_web/issues/37/events","html_url":"https://github.com/alexbain/lirc_web/pull/37","id":128380847,"number":37,"title":"GPIO pins as configurable device","user":{"login":"OvisMaximus","id":5701377,"avatar_url":"https://avatars.githubusercontent.com/u/5701377?v=3","gravatar_id":"","url":"https://api.github.com/users/OvisMaximus","html_url":"https://github.com/OvisMaximus","followers_url":"https://api.github.com/users/OvisMaximus/followers","following_url":"https://api.github.com/users/OvisMaximus/following{/other_user}","gists_url":"https://api.github.com/users/OvisMaximus/gists{/gist_id}","starred_url":"https://api.github.com/users/OvisMaximus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OvisMaximus/subscriptions","organizations_url":"https://api.github.com/users/OvisMaximus/orgs","repos_url":"https://api.github.com/users/OvisMaximus/repos","events_url":"https://api.github.com/users/OvisMaximus/events{/privacy}","received_events_url":"https://api.github.com/users/OvisMaximus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-24T08:18:10Z","updated_at":"2016-01-24T21:51:04Z","closed_at":"2016-01-24T21:09:48Z","pull_request":{"url":"https://api.github.com/repos/alexbain/lirc_web/pulls/37","html_url":"https://github.com/alexbain/lirc_web/pull/37","diff_url":"https://github.com/alexbain/lirc_web/pull/37.diff","patch_url":"https://github.com/alexbain/lirc_web/pull/37.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/alexbain/lirc_web/issues/comments/174344582","html_url":"https://github.com/alexbain/lirc_web/pull/37#issuecomment-174344582","issue_url":"https://api.github.com/repos/alexbain/lirc_web/issues/37","id":174344582,"user":{"login":"alexbain","id":65052,"avatar_url":"https://avatars.githubusercontent.com/u/65052?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbain","html_url":"https://github.com/alexbain","followers_url":"https://api.github.com/users/alexbain/followers","following_url":"https://api.github.com/users/alexbain/following{/other_user}","gists_url":"https://api.github.com/users/alexbain/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbain/subscriptions","organizations_url":"https://api.github.com/users/alexbain/orgs","repos_url":"https://api.github.com/users/alexbain/repos","events_url":"https://api.github.com/users/alexbain/events{/privacy}","received_events_url":"https://api.github.com/users/alexbain/received_events","type":"User","site_admin":false},"created_at":"2016-01-24T21:51:04Z","updated_at":"2016-01-24T21:51:04Z","body":"One thing I just noticed was that now that `wiringPi` is a required dependency I can no longer do local development on my OSX laptop as the package fails to install. It'd be nice to come up with a way to specify optional dependencies that are only installed if the user chooses to install them.\r\n\r\nnpm does support `optionalDependencies` in the `package.json` file but I'm not certain the best way to conditionally test for `wiringPi` when trying to reference / use it.\r\n"}}