{"action":"created","issue":{"url":"https://api.github.com/repos/mjeanroy/bower-npm-resolver/issues/3","repository_url":"https://api.github.com/repos/mjeanroy/bower-npm-resolver","labels_url":"https://api.github.com/repos/mjeanroy/bower-npm-resolver/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/mjeanroy/bower-npm-resolver/issues/3/comments","events_url":"https://api.github.com/repos/mjeanroy/bower-npm-resolver/issues/3/events","html_url":"https://github.com/mjeanroy/bower-npm-resolver/issues/3","id":150199669,"number":3,"title":"Does not play well with https://github.com/yeoman/bower-requirejs","user":{"login":"davireis","id":12184809,"avatar_url":"https://avatars.githubusercontent.com/u/12184809?v=3","gravatar_id":"","url":"https://api.github.com/users/davireis","html_url":"https://github.com/davireis","followers_url":"https://api.github.com/users/davireis/followers","following_url":"https://api.github.com/users/davireis/following{/other_user}","gists_url":"https://api.github.com/users/davireis/gists{/gist_id}","starred_url":"https://api.github.com/users/davireis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davireis/subscriptions","organizations_url":"https://api.github.com/users/davireis/orgs","repos_url":"https://api.github.com/users/davireis/repos","events_url":"https://api.github.com/users/davireis/events{/privacy}","received_events_url":"https://api.github.com/users/davireis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-21T21:48:25Z","updated_at":"2016-04-24T20:50:12Z","closed_at":null,"body":"Hi,\r\n\r\nJust wanted to let you know that the choice of \"npm+modulename\" syntax has confused bower-requirejs, which fails with:\r\n\r\n```\r\nRunning \"bowerRequirejs:target\" (bowerRequirejs) task\r\nVerifying property bowerRequirejs.target exists in config...OK\r\nFile: [no files]\r\nOptions: config=\"app/main.js\", exclude=[], baseUrl=\"\", transitive=false, excludeDev=false\r\nWarning: Task \"bowerRequirejs:target\" failed. Use --force to continue.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/mjeanroy/bower-npm-resolver/issues/comments/214032788","html_url":"https://github.com/mjeanroy/bower-npm-resolver/issues/3#issuecomment-214032788","issue_url":"https://api.github.com/repos/mjeanroy/bower-npm-resolver/issues/3","id":214032788,"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-04-24T20:50:12Z","updated_at":"2016-04-24T20:50:12Z","body":"Hi,\r\nThanks @davireis & @jakub-g.\r\n\r\nI am open to a different prefix or a different solution. Currently, I see two options:\r\n- As @jakub-g suggest, provide an array (or a regex) listing packages to fetch from npm. This solution is not so hard to implement.\r\n- Do not specify a prefix in the name of the package, but specify the npm prefix in the value (the drawback is that you will have to repeat the name of the package), for example:\r\n\r\n```\r\n\"dependencies\": {\r\n  \"jquery\": \"npm://jquery#~1.1.0\"\r\n}\r\n```\r\n\r\nI'm ok with both solution, what do you think ?\r\n"}}