{"action":"created","issue":{"url":"https://api.github.com/repos/taptapship/wiredep/issues/191","labels_url":"https://api.github.com/repos/taptapship/wiredep/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/taptapship/wiredep/issues/191/comments","events_url":"https://api.github.com/repos/taptapship/wiredep/issues/191/events","html_url":"https://github.com/taptapship/wiredep/issues/191","id":86690444,"number":191,"title":"How to inject additional dependencies not listed in source repo's main?","user":{"login":"mhulse","id":218624,"avatar_url":"https://avatars.githubusercontent.com/u/218624?v=3","gravatar_id":"","url":"https://api.github.com/users/mhulse","html_url":"https://github.com/mhulse","followers_url":"https://api.github.com/users/mhulse/followers","following_url":"https://api.github.com/users/mhulse/following{/other_user}","gists_url":"https://api.github.com/users/mhulse/gists{/gist_id}","starred_url":"https://api.github.com/users/mhulse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhulse/subscriptions","organizations_url":"https://api.github.com/users/mhulse/orgs","repos_url":"https://api.github.com/users/mhulse/repos","events_url":"https://api.github.com/users/mhulse/events{/privacy}","received_events_url":"https://api.github.com/users/mhulse/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-09T18:29:23Z","updated_at":"2015-06-09T21:02:25Z","closed_at":"2015-06-09T20:52:53Z","body":"My `bower.json`:\r\n\r\n```json\r\n{\r\n  \"name\": \"client\",\r\n  \"version\": \"0.0.0\",\r\n  \"dependencies\": {\r\n    \"angular\": \"~1.4.0\",\r\n    \"angular-route\": \"~1.4.0\",\r\n    \"admin-lte\": \"~2.1.1\",\r\n    \"bootstrap\": \"~3.3.4\",\r\n    \"angular-resource\": \"~1.4.0\",\r\n    \"angular-mocks\": \"~1.4.0\",\r\n    \"angular-locale\": \"~0.1.9\",\r\n    \"angular-bootstrap\": \"~0.13.0\",\r\n    \"underscore\": \"~1.8.3\",\r\n    \"angular-ui-router\": \"~0.2.15\",\r\n    \"moment\": \"~2.10.3\",\r\n    \"ngCordova\": \"~0.1.17-alpha\",\r\n    \"underscore-contrib\": \"~0.3.0\",\r\n    \"angular-chart.js\": \"~0.7.1\"\r\n  },\r\n  \"overrides\": {\r\n    \"admin-lte\": {\r\n      \"main\": [\r\n        \"dist/css/AdminLTE.css\",\r\n        \"dist/css/skins/skin-blue.min.css\",\r\n        \"dist/js/app.js\"\r\n      ],\r\n      \"dependencies\": {\r\n        \"bootstrap\": \"*\"\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nIn the `admin-lte` section, I can't seem to get the overrides to fully work.\r\n\r\nWhen running:\r\n\r\n```bash\r\n$ wiredep --src client/index.html --bowerJson client/bower.json\r\n```\r\n\r\nI get:\r\n\r\n```html\r\n<!-- bower:css -->\r\n<link rel=\"stylesheet\" href=\"bower_components/bootstrap/dist/css/bootstrap.css\" />\r\n<link rel=\"stylesheet\" href=\"bower_components/admin-lte/dist/css/AdminLTE.css\" />\r\n<link rel=\"stylesheet\" href=\"bower_components/angular-chart.js/dist/angular-chart.css\" />\r\n<!-- endbower -->\r\n```\r\n\r\nWith no output of `skin-blue.min.css`.\r\n\r\nBasically, I'm trying to pull in a CSS skin that's not listed in the source repo's main; for example, here's [AdminLTE's `bower.json`](https://github.com/almasaeed2010/AdminLTE/blob/406de4e708e84ed0abbc08b09870828254a6b2ef/bower.json):\r\n\r\n```json\r\n{\r\n  \"name\": \"AdminLTE\",\r\n  \"version\": \"2.1.2\",\r\n  \"homepage\": \"http://almsaeedstudio.com\",\r\n  \"authors\": [\r\n    \"Abdullah Almsaeed <almasaeed2010@gmail.com>\"\r\n  ],\r\n  \"description\": \"Admin dashboard and control panel template\",\r\n  \"main\": [\r\n    \"index2.html\",\r\n    \"dist/css/AdminLTE.css\",\r\n    \"dist/js/app.js\",\r\n    \"build/less/AdminLTE.less\"\r\n  ],\r\n  \"keywords\": [\r\n    \"css\",\r\n    \"js\",\r\n    \"html\",\r\n    \"template\",\r\n    \"admin\",\r\n    \"bootstrap\",\r\n    \"theme\",\r\n    \"backend\",\r\n    \"responsive\"\r\n  ],\r\n  \"license\": \"MIT\",\r\n  \"ignore\": [\r\n    \"/.*\",\r\n    \"node_modules\",\r\n    \"bower_components\",\r\n    \"composer.json\",\r\n    \"documentation\"\r\n  ]\r\n}\r\n```\r\n\r\n**Question:** Is what I'm trying to do not possible with wiredep (i.e., get wiredep to inject specific dependencies not listed in the source repo's `bower.json` file)?\r\n\r\nThanks!\r\n"},"comment":{"url":"https://api.github.com/repos/taptapship/wiredep/issues/comments/110503129","html_url":"https://github.com/taptapship/wiredep/issues/191#issuecomment-110503129","issue_url":"https://api.github.com/repos/taptapship/wiredep/issues/191","id":110503129,"user":{"login":"mhulse","id":218624,"avatar_url":"https://avatars.githubusercontent.com/u/218624?v=3","gravatar_id":"","url":"https://api.github.com/users/mhulse","html_url":"https://github.com/mhulse","followers_url":"https://api.github.com/users/mhulse/followers","following_url":"https://api.github.com/users/mhulse/following{/other_user}","gists_url":"https://api.github.com/users/mhulse/gists{/gist_id}","starred_url":"https://api.github.com/users/mhulse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhulse/subscriptions","organizations_url":"https://api.github.com/users/mhulse/orgs","repos_url":"https://api.github.com/users/mhulse/repos","events_url":"https://api.github.com/users/mhulse/events{/privacy}","received_events_url":"https://api.github.com/users/mhulse/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T21:02:25Z","updated_at":"2015-06-09T21:02:25Z","body":"Lol, I just discovered why it wasn't working!\r\n\r\nI had included the skin outside of the `wiredep` html comment:\r\n\r\n```html\r\n<link rel=\"stylesheet\" href=\"bower_components/admin-lte/dist/css/skins/skin-blue.min.css\" />\r\n```\r\n\r\nWe were doing that because we hadn't setup overrides yet. During my tests, I left that line in the template (outside of the `bower:css` comment).\r\n\r\n As soon as I removed the skin CSS call, and ran `wiredep`, it worked!\r\n\r\nAwesome. Thanks again @stephenplusplus!"}}