{"action":"closed","issue":{"url":"https://api.github.com/repos/freedomjs/freedom-for-chrome/issues/71","labels_url":"https://api.github.com/repos/freedomjs/freedom-for-chrome/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/freedomjs/freedom-for-chrome/issues/71/comments","events_url":"https://api.github.com/repos/freedomjs/freedom-for-chrome/issues/71/events","html_url":"https://github.com/freedomjs/freedom-for-chrome/issues/71","id":58854009,"number":71,"title":"Add `main` param to the package to support `require.resolve` usage","user":{"login":"iislucas","id":415450,"avatar_url":"https://avatars.githubusercontent.com/u/415450?v=3","gravatar_id":"","url":"https://api.github.com/users/iislucas","html_url":"https://github.com/iislucas","followers_url":"https://api.github.com/users/iislucas/followers","following_url":"https://api.github.com/users/iislucas/following{/other_user}","gists_url":"https://api.github.com/users/iislucas/gists{/gist_id}","starred_url":"https://api.github.com/users/iislucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iislucas/subscriptions","organizations_url":"https://api.github.com/users/iislucas/orgs","repos_url":"https://api.github.com/users/iislucas/repos","events_url":"https://api.github.com/users/iislucas/events{/privacy}","received_events_url":"https://api.github.com/users/iislucas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-25T05:49:00Z","updated_at":"2015-02-26T16:50:07Z","closed_at":"2015-02-26T16:50:07Z","body":"It's quite convenient in freedom that the package.json file specified a main: https://github.com/freedomjs/freedom/blob/master/package.json#L18\r\n\r\nLets do the same for freedom-for-chrome as it makes it easier for other packages to use it and not worry about paths to the created freedom-for-chrome.js file. "}}