{"action":"opened","issue":{"url":"https://api.github.com/repos/freiksenet/react-calendar/issues/22","labels_url":"https://api.github.com/repos/freiksenet/react-calendar/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/freiksenet/react-calendar/issues/22/comments","events_url":"https://api.github.com/repos/freiksenet/react-calendar/issues/22/events","html_url":"https://github.com/freiksenet/react-calendar/issues/22","id":68161448,"number":22,"title":"Change `main` of `package.json` to point to `react-calendar.js`","user":{"login":"andru","id":30393,"avatar_url":"https://avatars.githubusercontent.com/u/30393?v=3","gravatar_id":"","url":"https://api.github.com/users/andru","html_url":"https://github.com/andru","followers_url":"https://api.github.com/users/andru/followers","following_url":"https://api.github.com/users/andru/following{/other_user}","gists_url":"https://api.github.com/users/andru/gists{/gist_id}","starred_url":"https://api.github.com/users/andru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andru/subscriptions","organizations_url":"https://api.github.com/users/andru/orgs","repos_url":"https://api.github.com/users/andru/repos","events_url":"https://api.github.com/users/andru/events{/privacy}","received_events_url":"https://api.github.com/users/andru/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-13T18:22:43Z","updated_at":"2015-04-13T18:22:43Z","closed_at":null,"body":"Is there a good use case for the `main` property of `package.json` to be set to a file in the `dist` directory? \r\nWhen working with webpack it's better to have uncompiled modules where possible.\r\n\r\nI just hit a problems where doing an `npm install` direct from this repo instead of npm errors out because there's no `dist` dir.   This is a valid use case to stay on the bleeding edge rather than wait for npm releases. \r\n\r\nUnless there's any loaders going on which are incompatible with standard node `require` then setting `main` to `./react-calendar.js` should work great for both `node` and `webpack`. "}}