{"action":"created","issue":{"url":"https://api.github.com/repos/mjeanroy/bower-npm-resolver/issues/4","repository_url":"https://api.github.com/repos/mjeanroy/bower-npm-resolver","labels_url":"https://api.github.com/repos/mjeanroy/bower-npm-resolver/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/mjeanroy/bower-npm-resolver/issues/4/comments","events_url":"https://api.github.com/repos/mjeanroy/bower-npm-resolver/issues/4/events","html_url":"https://github.com/mjeanroy/bower-npm-resolver/pull/4","id":154375252,"number":4,"title":"Allow user provided match patterns","user":{"login":"mhofman","id":86499,"avatar_url":"https://avatars.githubusercontent.com/u/86499?v=3","gravatar_id":"","url":"https://api.github.com/users/mhofman","html_url":"https://github.com/mhofman","followers_url":"https://api.github.com/users/mhofman/followers","following_url":"https://api.github.com/users/mhofman/following{/other_user}","gists_url":"https://api.github.com/users/mhofman/gists{/gist_id}","starred_url":"https://api.github.com/users/mhofman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhofman/subscriptions","organizations_url":"https://api.github.com/users/mhofman/orgs","repos_url":"https://api.github.com/users/mhofman/repos","events_url":"https://api.github.com/users/mhofman/events{/privacy}","received_events_url":"https://api.github.com/users/mhofman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-12T01:00:07Z","updated_at":"2016-05-14T16:06:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mjeanroy/bower-npm-resolver/pulls/4","html_url":"https://github.com/mjeanroy/bower-npm-resolver/pull/4","diff_url":"https://github.com/mjeanroy/bower-npm-resolver/pull/4.diff","patch_url":"https://github.com/mjeanroy/bower-npm-resolver/pull/4.patch"},"body":"Implement package source matching against a list of regexp match patterns.\r\n\r\nImplement `npm:` URI scheme as a default match pattern.\r\nKeep old `npm+` prefix as another default match pattern.\r\nKeep support for `matchPrefix` configuration of version 0.2.0.\r\n\r\nThe `npm:` scheme regexp does allow for `npm://` style URI, even though those are not actually appropriate in this use case. A `//` is used to indicate the start of the authority, which means the package name would end up being the \"host\" of the uri. It gets even more murky with scoped package names.\r\n\r\nThis PR also includes a fix for the package name normalization of scoped packages that don't include a `bower.json` file. Bower doesn't allow nested package names or `@`.\r\n\r\nThis should fix #3 "},"comment":{"url":"https://api.github.com/repos/mjeanroy/bower-npm-resolver/issues/comments/219228379","html_url":"https://github.com/mjeanroy/bower-npm-resolver/pull/4#issuecomment-219228379","issue_url":"https://api.github.com/repos/mjeanroy/bower-npm-resolver/issues/4","id":219228379,"user":{"login":"mjeanroy","id":1067361,"avatar_url":"https://avatars.githubusercontent.com/u/1067361?v=3","gravatar_id":"","url":"https://api.github.com/users/mjeanroy","html_url":"https://github.com/mjeanroy","followers_url":"https://api.github.com/users/mjeanroy/followers","following_url":"https://api.github.com/users/mjeanroy/following{/other_user}","gists_url":"https://api.github.com/users/mjeanroy/gists{/gist_id}","starred_url":"https://api.github.com/users/mjeanroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjeanroy/subscriptions","organizations_url":"https://api.github.com/users/mjeanroy/orgs","repos_url":"https://api.github.com/users/mjeanroy/repos","events_url":"https://api.github.com/users/mjeanroy/events{/privacy}","received_events_url":"https://api.github.com/users/mjeanroy/received_events","type":"User","site_admin":false},"created_at":"2016-05-14T16:06:52Z","updated_at":"2016-05-14T16:06:52Z","body":"Awesome, thanks @mhofman! Just small comments, but I think this could be merged soon 👍  "}}