{"action":"created","issue":{"url":"https://api.github.com/repos/gfazioli/react-switch-button/issues/38","repository_url":"https://api.github.com/repos/gfazioli/react-switch-button","labels_url":"https://api.github.com/repos/gfazioli/react-switch-button/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/gfazioli/react-switch-button/issues/38/comments","events_url":"https://api.github.com/repos/gfazioli/react-switch-button/issues/38/events","html_url":"https://github.com/gfazioli/react-switch-button/issues/38","id":337443018,"node_id":"MDU6SXNzdWUzMzc0NDMwMTg=","number":38,"title":"Jest Cannot find module 'react-switch-button'","user":{"login":"arsenslyusarchuk","id":1076052,"node_id":"MDQ6VXNlcjEwNzYwNTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1076052?v=4","gravatar_id":"","url":"https://api.github.com/users/arsenslyusarchuk","html_url":"https://github.com/arsenslyusarchuk","followers_url":"https://api.github.com/users/arsenslyusarchuk/followers","following_url":"https://api.github.com/users/arsenslyusarchuk/following{/other_user}","gists_url":"https://api.github.com/users/arsenslyusarchuk/gists{/gist_id}","starred_url":"https://api.github.com/users/arsenslyusarchuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arsenslyusarchuk/subscriptions","organizations_url":"https://api.github.com/users/arsenslyusarchuk/orgs","repos_url":"https://api.github.com/users/arsenslyusarchuk/repos","events_url":"https://api.github.com/users/arsenslyusarchuk/events{/privacy}","received_events_url":"https://api.github.com/users/arsenslyusarchuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-02T09:41:23Z","updated_at":"2018-07-04T12:55:08Z","closed_at":null,"author_association":"NONE","body":"@gfazioli  During running tests with Jest I have the following issue `Cannot find module 'react-switch-button' from ...(some js file)`.\r\nGetting into source code of library under `node_modules` I see typo in `package.json`\r\n`\"main\": \"dist/react-switch-button.min.js\", `, which doesn't correspond to actual name under `dist` folder `react-switch-button.js` (without `min`). Please fix this typo, because changing name to `react-switch-button.min.js` makes the tests pass. \r\nThanks.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gfazioli/react-switch-button/issues/comments/402470873","html_url":"https://github.com/gfazioli/react-switch-button/issues/38#issuecomment-402470873","issue_url":"https://api.github.com/repos/gfazioli/react-switch-button/issues/38","id":402470873,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjQ3MDg3Mw==","user":{"login":"arsenslyusarchuk","id":1076052,"node_id":"MDQ6VXNlcjEwNzYwNTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1076052?v=4","gravatar_id":"","url":"https://api.github.com/users/arsenslyusarchuk","html_url":"https://github.com/arsenslyusarchuk","followers_url":"https://api.github.com/users/arsenslyusarchuk/followers","following_url":"https://api.github.com/users/arsenslyusarchuk/following{/other_user}","gists_url":"https://api.github.com/users/arsenslyusarchuk/gists{/gist_id}","starred_url":"https://api.github.com/users/arsenslyusarchuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arsenslyusarchuk/subscriptions","organizations_url":"https://api.github.com/users/arsenslyusarchuk/orgs","repos_url":"https://api.github.com/users/arsenslyusarchuk/repos","events_url":"https://api.github.com/users/arsenslyusarchuk/events{/privacy}","received_events_url":"https://api.github.com/users/arsenslyusarchuk/received_events","type":"User","site_admin":false},"created_at":"2018-07-04T12:55:08Z","updated_at":"2018-07-04T12:55:08Z","author_association":"NONE","body":"@gfazioli Hello, can anybody fix this issue?"}}
{"actor":{"display_login":"arsenslyusarchuk"}}