{"action":"opened","issue":{"url":"https://api.github.com/repos/terrymun/Fluidbox/issues/177","repository_url":"https://api.github.com/repos/terrymun/Fluidbox","labels_url":"https://api.github.com/repos/terrymun/Fluidbox/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/terrymun/Fluidbox/issues/177/comments","events_url":"https://api.github.com/repos/terrymun/Fluidbox/issues/177/events","html_url":"https://github.com/terrymun/Fluidbox/issues/177","id":183212781,"number":177,"title":"Main section of Bower config does not work correctly with Wiredep","user":{"login":"sarahquigley","id":1569881,"avatar_url":"https://avatars.githubusercontent.com/u/1569881?v=3","gravatar_id":"","url":"https://api.github.com/users/sarahquigley","html_url":"https://github.com/sarahquigley","followers_url":"https://api.github.com/users/sarahquigley/followers","following_url":"https://api.github.com/users/sarahquigley/following{/other_user}","gists_url":"https://api.github.com/users/sarahquigley/gists{/gist_id}","starred_url":"https://api.github.com/users/sarahquigley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarahquigley/subscriptions","organizations_url":"https://api.github.com/users/sarahquigley/orgs","repos_url":"https://api.github.com/users/sarahquigley/repos","events_url":"https://api.github.com/users/sarahquigley/events{/privacy}","received_events_url":"https://api.github.com/users/sarahquigley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-15T14:35:37Z","updated_at":"2016-10-15T14:35:37Z","closed_at":null,"body":"Hi @terrymun ,\r\n\r\nI use [Wiredep](https://github.com/taptapship/wiredep) for automatic injection of dependencies in many of my projects (technically I use [grunt-wiredep](https://github.com/stephenplusplus/grunt-wiredep)). I'm using _Fluidbox_ in one of my projects, and found that you have configured the `main` section of your `bower.json` file in a way that isn't compatible with _Wiredep_. (_Wiredep_ did not pick up on _Fluidbox's_ javascript files, and did not automatically inject them as dependencies.)\r\n\r\nTo fix this, I ended up overriding the `bower.json` `main` configuration for _Fluidbox_ in my own `bower.json` file as follows:\r\n\r\n```\r\n \"overrides\": {\r\n    \"fluidbox\": {\r\n      \"main\": [\r\n        \"dist/js/jquery.fluidbox.min.js\",\r\n        \"dist/css/fluidbox.min.css\"\r\n      ]\r\n    }\r\n  }\r\n```\r\nI believe the above is the current expected convention for `bower.json main` paths.\r\n\r\nWhile this `overrides` solution is working for me, it would be nice if this could be fixed _Fluidbox's_ `bower.json` config to adhere to convention and so that anyone else who uses _Wiredep_ for dependency injection will not encounter the same problem.\r\n\r\nIf you're interested in fixing this issue, I'd be willing to submit a PR.\r\n\r\nMany thanks,\r\n\r\nSarah"}}
{"actor":{"display_login":"sarahquigley"}}