{"action":"opened","issue":{"url":"https://api.github.com/repos/eirslett/frontend-maven-plugin/issues/133","labels_url":"https://api.github.com/repos/eirslett/frontend-maven-plugin/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/eirslett/frontend-maven-plugin/issues/133/comments","events_url":"https://api.github.com/repos/eirslett/frontend-maven-plugin/issues/133/events","html_url":"https://github.com/eirslett/frontend-maven-plugin/issues/133","id":53416489,"number":133,"title":"Add bower as an option to install and run","user":{"login":"gregturn","id":311040,"avatar_url":"https://avatars.githubusercontent.com/u/311040?v=3","gravatar_id":"","url":"https://api.github.com/users/gregturn","html_url":"https://github.com/gregturn","followers_url":"https://api.github.com/users/gregturn/followers","following_url":"https://api.github.com/users/gregturn/following{/other_user}","gists_url":"https://api.github.com/users/gregturn/gists{/gist_id}","starred_url":"https://api.github.com/users/gregturn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregturn/subscriptions","organizations_url":"https://api.github.com/users/gregturn/orgs","repos_url":"https://api.github.com/users/gregturn/repos","events_url":"https://api.github.com/users/gregturn/events{/privacy}","received_events_url":"https://api.github.com/users/gregturn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-05T16:49:12Z","updated_at":"2015-01-05T16:49:12Z","closed_at":null,"body":"I use certain components that are only released through bower. Having this plugin support bower as well would be handy.\r\n\r\nSo far, I have worked around it by adding this execution:\r\n\r\n```xml\r\n<execution>\r\n\t<id>install-bower-components</id>\r\n\t<goals>\r\n\t\t<goal>npm</goal>\r\n\t</goals>\r\n\t<phase>generate-resources</phase>\r\n\t<configuration>\r\n\t\t<arguments>run install-bower-components</arguments>\r\n\t</configuration>\r\n</execution>\r\n```\r\n\r\nAnd I have this **package.json** file, which includes bower as a **devDependencies**, and the script step **install-bower-components** to run the node module of bower, to thus install my bower dependencies. This would be really handy to not to have to code by hand for every project I go to.\r\n\r\n```javascript\r\n{\r\n  \"name\": \"Spring-a-Gram\",\r\n  \"version\": \"1.0.0\",\r\n  \"description\": \"Demo Spring Data REST by uploading your favorite pics\",\r\n  \"main\": \"run.js\",\r\n  \"scripts\": {\r\n    \"install-bower-components\": \"./node_modules/.bin/bower install\"\r\n  },\r\n  \"repository\": {\r\n    \"type\": \"git\",\r\n    \"url\": \"git@github.com:gregturn/spring-a-gram.git\"\r\n  },\r\n  \"keywords\": [\r\n    \"spring\",\r\n    \"data\",\r\n    \"rest\",\r\n    \"hateoas\",\r\n    \"hypermedia\"\r\n  ],\r\n  \"author\": \"Greg L. Turnquist\",\r\n  \"license\": \"ASLv2\",\r\n  \"bugs\": {\r\n    \"url\": \"https://github.com/gregturn/spring-a-gram/issues\"\r\n  },\r\n  \"homepage\": \"https://github.com/gregturn/spring-a-gram\",\r\n  \"dependencies\": {\r\n    \"jquery\": \"^2.1.1\",\r\n    \"requirejs\": \"^2.1.15\",\r\n    \"rest\": \"^1.2.0\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"bower\": \"^1.3.12\"\r\n  }\r\n}\r\n```"}}