{"action":"created","issue":{"url":"https://api.github.com/repos/nnnick/Chart.js/issues/2236","repository_url":"https://api.github.com/repos/nnnick/Chart.js","labels_url":"https://api.github.com/repos/nnnick/Chart.js/issues/2236/labels{/name}","comments_url":"https://api.github.com/repos/nnnick/Chart.js/issues/2236/comments","events_url":"https://api.github.com/repos/nnnick/Chart.js/issues/2236/events","html_url":"https://github.com/nnnick/Chart.js/issues/2236","id":147282273,"number":2236,"title":"Path to main file is incorrect in bower.json","user":{"login":"troywarr","id":798770,"avatar_url":"https://avatars.githubusercontent.com/u/798770?v=3","gravatar_id":"","url":"https://api.github.com/users/troywarr","html_url":"https://github.com/troywarr","followers_url":"https://api.github.com/users/troywarr/followers","following_url":"https://api.github.com/users/troywarr/following{/other_user}","gists_url":"https://api.github.com/users/troywarr/gists{/gist_id}","starred_url":"https://api.github.com/users/troywarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troywarr/subscriptions","organizations_url":"https://api.github.com/users/troywarr/orgs","repos_url":"https://api.github.com/users/troywarr/repos","events_url":"https://api.github.com/users/troywarr/events{/privacy}","received_events_url":"https://api.github.com/users/troywarr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nnnick/Chart.js/labels/Category:%20Bug","name":"Category: Bug","color":"fc2929"},{"url":"https://api.github.com/repos/nnnick/Chart.js/labels/Category:%20Infrastructure","name":"Category: Infrastructure","color":"2B303B"},{"url":"https://api.github.com/repos/nnnick/Chart.js/labels/Priority:%20p0","name":"Priority: p0","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-11T00:08:27Z","updated_at":"2016-04-11T00:11:48Z","closed_at":null,"body":"Since the file paths in `\"main\"` are relative to the package's root directory, the current `bower.json`:\r\n\r\n    {\r\n      \"name\": \"Chart.js\",\r\n      \"version\": \"2.0.0\",\r\n      \"description\": \"Simple HTML5 Charts using the canvas element\",\r\n      \"homepage\": \"https://github.com/nnnick/Chart.js\",\r\n      \"author\": \"nnnick\",\r\n      \"main\": [\r\n        \"Chart.js\"\r\n      ],\r\n      \"devDependencies\": {\r\n        \"jquery\": \"~2.1.4\"\r\n      }\r\n    }\r\n\r\nincorrectly sets the path `Chart.js`. That points to the root directory, rather than the `dist` directory where the file lives."},"comment":{"url":"https://api.github.com/repos/nnnick/Chart.js/issues/comments/208098368","html_url":"https://github.com/nnnick/Chart.js/issues/2236#issuecomment-208098368","issue_url":"https://api.github.com/repos/nnnick/Chart.js/issues/2236","id":208098368,"user":{"login":"troywarr","id":798770,"avatar_url":"https://avatars.githubusercontent.com/u/798770?v=3","gravatar_id":"","url":"https://api.github.com/users/troywarr","html_url":"https://github.com/troywarr","followers_url":"https://api.github.com/users/troywarr/followers","following_url":"https://api.github.com/users/troywarr/following{/other_user}","gists_url":"https://api.github.com/users/troywarr/gists{/gist_id}","starred_url":"https://api.github.com/users/troywarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troywarr/subscriptions","organizations_url":"https://api.github.com/users/troywarr/orgs","repos_url":"https://api.github.com/users/troywarr/repos","events_url":"https://api.github.com/users/troywarr/events{/privacy}","received_events_url":"https://api.github.com/users/troywarr/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T00:11:48Z","updated_at":"2016-04-11T00:11:48Z","body":"PR here: https://github.com/nnnick/Chart.js/pull/2237"}}