{"action":"created","issue":{"url":"https://api.github.com/repos/yeoman/generator-polymer/issues/126","labels_url":"https://api.github.com/repos/yeoman/generator-polymer/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/yeoman/generator-polymer/issues/126/comments","events_url":"https://api.github.com/repos/yeoman/generator-polymer/issues/126/events","html_url":"https://github.com/yeoman/generator-polymer/pull/126","id":54414510,"number":126,"title":"Added the ability to include devDependencies in GitHub Pages. Fixes #61","user":{"login":"MasterAM","id":226666,"avatar_url":"https://avatars.githubusercontent.com/u/226666?v=3","gravatar_id":"","url":"https://api.github.com/users/MasterAM","html_url":"https://github.com/MasterAM","followers_url":"https://api.github.com/users/MasterAM/followers","following_url":"https://api.github.com/users/MasterAM/following{/other_user}","gists_url":"https://api.github.com/users/MasterAM/gists{/gist_id}","starred_url":"https://api.github.com/users/MasterAM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MasterAM/subscriptions","organizations_url":"https://api.github.com/users/MasterAM/orgs","repos_url":"https://api.github.com/users/MasterAM/repos","events_url":"https://api.github.com/users/MasterAM/events{/privacy}","received_events_url":"https://api.github.com/users/MasterAM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-15T05:39:23Z","updated_at":"2015-01-15T18:35:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yeoman/generator-polymer/pulls/126","html_url":"https://github.com/yeoman/generator-polymer/pull/126","diff_url":"https://github.com/yeoman/generator-polymer/pull/126.diff","patch_url":"https://github.com/yeoman/generator-polymer/pull/126.patch"},"body":"I wanted to generate nice looking demo pages for my elements that use other Polymer elements, but didn't want those elements as dependencies for my element.\r\n\r\nTherefore, I added them as devDependencies, using `$ bower install --save-dev <my-deps>`.\r\n\r\nProblem was, the way the GitHub Pages generation is done has bower install my element into a fresh directory, which prevents it from installing the devDependencies (this is the default bower behavior, don't know of a workaround).\r\n\r\nI added another (optional) step: since we already have the repository pulled for us, we go into it and install the dependencies into the parent dir. This installs the devDependencies and we now have our desired elements without having them as dependencies for the element itself."},"comment":{"url":"https://api.github.com/repos/yeoman/generator-polymer/issues/comments/70136472","html_url":"https://github.com/yeoman/generator-polymer/pull/126#issuecomment-70136472","issue_url":"https://api.github.com/repos/yeoman/generator-polymer/issues/126","id":70136472,"user":{"login":"robdodson","id":1066253,"avatar_url":"https://avatars.githubusercontent.com/u/1066253?v=3","gravatar_id":"","url":"https://api.github.com/users/robdodson","html_url":"https://github.com/robdodson","followers_url":"https://api.github.com/users/robdodson/followers","following_url":"https://api.github.com/users/robdodson/following{/other_user}","gists_url":"https://api.github.com/users/robdodson/gists{/gist_id}","starred_url":"https://api.github.com/users/robdodson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robdodson/subscriptions","organizations_url":"https://api.github.com/users/robdodson/orgs","repos_url":"https://api.github.com/users/robdodson/repos","events_url":"https://api.github.com/users/robdodson/events{/privacy}","received_events_url":"https://api.github.com/users/robdodson/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T18:35:36Z","updated_at":"2015-01-15T18:35:36Z","body":"Added a few comments. Otherwise looks good. Can you fixup and rebase?"}}