{"action":"opened","number":46,"pull_request":{"url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/pulls/46","id":65084678,"html_url":"https://github.com/mukeshsoni/react-telephone-input/pull/46","diff_url":"https://github.com/mukeshsoni/react-telephone-input/pull/46.diff","patch_url":"https://github.com/mukeshsoni/react-telephone-input/pull/46.patch","issue_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/issues/46","number":46,"state":"open","locked":false,"title":"Provide lib/noStyles which doesn't need less-loader","user":{"login":"dmnd","id":4427,"avatar_url":"https://avatars.githubusercontent.com/u/4427?v=3","gravatar_id":"","url":"https://api.github.com/users/dmnd","html_url":"https://github.com/dmnd","followers_url":"https://api.github.com/users/dmnd/followers","following_url":"https://api.github.com/users/dmnd/following{/other_user}","gists_url":"https://api.github.com/users/dmnd/gists{/gist_id}","starred_url":"https://api.github.com/users/dmnd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmnd/subscriptions","organizations_url":"https://api.github.com/users/dmnd/orgs","repos_url":"https://api.github.com/users/dmnd/repos","events_url":"https://api.github.com/users/dmnd/events{/privacy}","received_events_url":"https://api.github.com/users/dmnd/received_events","type":"User","site_admin":false},"body":"I'm trying to use this in a project where I already use lodash and don't\r\nwant to add less-loader. Before this PR, my options were:\r\n\r\n1. `require('react-telephone-input/dist/react-telephone-input')`\r\n   This includes a lot of lodash that I already include in my app.\r\n2. `require('react-telephone-input')`\r\n   This requires that I add less-loader because `index.js` requires a\r\n   less file. I'd rather not do that for one dependency.\r\n\r\nThis commit introduces an alternative way to require:\r\n\r\n`require('react-telephone-input/lib/noStyles')`\r\n\r\nThis allows applications to use this project without having to duplicate\r\nlodash dependencies, and without having to run less-loader.\r\n\r\nFixes #34","created_at":"2016-04-03T23:35:53Z","updated_at":"2016-04-03T23:35:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/pulls/46/commits","review_comments_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/pulls/46/comments","review_comment_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/issues/46/comments","statuses_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/statuses/ed5473a1d13248724fe1676b44cf980d1480a8c8","head":{"label":"dmnd:less-less-loader","ref":"less-less-loader","sha":"ed5473a1d13248724fe1676b44cf980d1480a8c8","user":{"login":"dmnd","id":4427,"avatar_url":"https://avatars.githubusercontent.com/u/4427?v=3","gravatar_id":"","url":"https://api.github.com/users/dmnd","html_url":"https://github.com/dmnd","followers_url":"https://api.github.com/users/dmnd/followers","following_url":"https://api.github.com/users/dmnd/following{/other_user}","gists_url":"https://api.github.com/users/dmnd/gists{/gist_id}","starred_url":"https://api.github.com/users/dmnd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmnd/subscriptions","organizations_url":"https://api.github.com/users/dmnd/orgs","repos_url":"https://api.github.com/users/dmnd/repos","events_url":"https://api.github.com/users/dmnd/events{/privacy}","received_events_url":"https://api.github.com/users/dmnd/received_events","type":"User","site_admin":false},"repo":{"id":55372931,"name":"react-telephone-input","full_name":"dmnd/react-telephone-input","owner":{"login":"dmnd","id":4427,"avatar_url":"https://avatars.githubusercontent.com/u/4427?v=3","gravatar_id":"","url":"https://api.github.com/users/dmnd","html_url":"https://github.com/dmnd","followers_url":"https://api.github.com/users/dmnd/followers","following_url":"https://api.github.com/users/dmnd/following{/other_user}","gists_url":"https://api.github.com/users/dmnd/gists{/gist_id}","starred_url":"https://api.github.com/users/dmnd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmnd/subscriptions","organizations_url":"https://api.github.com/users/dmnd/orgs","repos_url":"https://api.github.com/users/dmnd/repos","events_url":"https://api.github.com/users/dmnd/events{/privacy}","received_events_url":"https://api.github.com/users/dmnd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dmnd/react-telephone-input","description":"React component for entering and validating international telephone numbers","fork":true,"url":"https://api.github.com/repos/dmnd/react-telephone-input","forks_url":"https://api.github.com/repos/dmnd/react-telephone-input/forks","keys_url":"https://api.github.com/repos/dmnd/react-telephone-input/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmnd/react-telephone-input/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmnd/react-telephone-input/teams","hooks_url":"https://api.github.com/repos/dmnd/react-telephone-input/hooks","issue_events_url":"https://api.github.com/repos/dmnd/react-telephone-input/issues/events{/number}","events_url":"https://api.github.com/repos/dmnd/react-telephone-input/events","assignees_url":"https://api.github.com/repos/dmnd/react-telephone-input/assignees{/user}","branches_url":"https://api.github.com/repos/dmnd/react-telephone-input/branches{/branch}","tags_url":"https://api.github.com/repos/dmnd/react-telephone-input/tags","blobs_url":"https://api.github.com/repos/dmnd/react-telephone-input/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmnd/react-telephone-input/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmnd/react-telephone-input/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmnd/react-telephone-input/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmnd/react-telephone-input/statuses/{sha}","languages_url":"https://api.github.com/repos/dmnd/react-telephone-input/languages","stargazers_url":"https://api.github.com/repos/dmnd/react-telephone-input/stargazers","contributors_url":"https://api.github.com/repos/dmnd/react-telephone-input/contributors","subscribers_url":"https://api.github.com/repos/dmnd/react-telephone-input/subscribers","subscription_url":"https://api.github.com/repos/dmnd/react-telephone-input/subscription","commits_url":"https://api.github.com/repos/dmnd/react-telephone-input/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmnd/react-telephone-input/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmnd/react-telephone-input/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmnd/react-telephone-input/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmnd/react-telephone-input/contents/{+path}","compare_url":"https://api.github.com/repos/dmnd/react-telephone-input/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmnd/react-telephone-input/merges","archive_url":"https://api.github.com/repos/dmnd/react-telephone-input/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmnd/react-telephone-input/downloads","issues_url":"https://api.github.com/repos/dmnd/react-telephone-input/issues{/number}","pulls_url":"https://api.github.com/repos/dmnd/react-telephone-input/pulls{/number}","milestones_url":"https://api.github.com/repos/dmnd/react-telephone-input/milestones{/number}","notifications_url":"https://api.github.com/repos/dmnd/react-telephone-input/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmnd/react-telephone-input/labels{/name}","releases_url":"https://api.github.com/repos/dmnd/react-telephone-input/releases{/id}","deployments_url":"https://api.github.com/repos/dmnd/react-telephone-input/deployments","created_at":"2016-04-03T22:48:40Z","updated_at":"2016-04-03T22:48:41Z","pushed_at":"2016-04-03T23:35:32Z","git_url":"git://github.com/dmnd/react-telephone-input.git","ssh_url":"git@github.com:dmnd/react-telephone-input.git","clone_url":"https://github.com/dmnd/react-telephone-input.git","svn_url":"https://github.com/dmnd/react-telephone-input","homepage":"http://unstack.in/react-telephone-input/","size":8980,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mukeshsoni:master","ref":"master","sha":"20dcd6692b381cb4d7f14fbe913b03a639adebd3","user":{"login":"mukeshsoni","id":1042954,"avatar_url":"https://avatars.githubusercontent.com/u/1042954?v=3","gravatar_id":"","url":"https://api.github.com/users/mukeshsoni","html_url":"https://github.com/mukeshsoni","followers_url":"https://api.github.com/users/mukeshsoni/followers","following_url":"https://api.github.com/users/mukeshsoni/following{/other_user}","gists_url":"https://api.github.com/users/mukeshsoni/gists{/gist_id}","starred_url":"https://api.github.com/users/mukeshsoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mukeshsoni/subscriptions","organizations_url":"https://api.github.com/users/mukeshsoni/orgs","repos_url":"https://api.github.com/users/mukeshsoni/repos","events_url":"https://api.github.com/users/mukeshsoni/events{/privacy}","received_events_url":"https://api.github.com/users/mukeshsoni/received_events","type":"User","site_admin":false},"repo":{"id":27257119,"name":"react-telephone-input","full_name":"mukeshsoni/react-telephone-input","owner":{"login":"mukeshsoni","id":1042954,"avatar_url":"https://avatars.githubusercontent.com/u/1042954?v=3","gravatar_id":"","url":"https://api.github.com/users/mukeshsoni","html_url":"https://github.com/mukeshsoni","followers_url":"https://api.github.com/users/mukeshsoni/followers","following_url":"https://api.github.com/users/mukeshsoni/following{/other_user}","gists_url":"https://api.github.com/users/mukeshsoni/gists{/gist_id}","starred_url":"https://api.github.com/users/mukeshsoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mukeshsoni/subscriptions","organizations_url":"https://api.github.com/users/mukeshsoni/orgs","repos_url":"https://api.github.com/users/mukeshsoni/repos","events_url":"https://api.github.com/users/mukeshsoni/events{/privacy}","received_events_url":"https://api.github.com/users/mukeshsoni/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mukeshsoni/react-telephone-input","description":"React component for entering and validating international telephone numbers","fork":false,"url":"https://api.github.com/repos/mukeshsoni/react-telephone-input","forks_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/forks","keys_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/teams","hooks_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/hooks","issue_events_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/issues/events{/number}","events_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/events","assignees_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/assignees{/user}","branches_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/branches{/branch}","tags_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/tags","blobs_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/git/refs{/sha}","trees_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/statuses/{sha}","languages_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/languages","stargazers_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/stargazers","contributors_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/contributors","subscribers_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/subscribers","subscription_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/subscription","commits_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/commits{/sha}","git_commits_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/git/commits{/sha}","comments_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/comments{/number}","issue_comment_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/issues/comments{/number}","contents_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/contents/{+path}","compare_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/merges","archive_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/downloads","issues_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/issues{/number}","pulls_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/pulls{/number}","milestones_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/milestones{/number}","notifications_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/labels{/name}","releases_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/releases{/id}","deployments_url":"https://api.github.com/repos/mukeshsoni/react-telephone-input/deployments","created_at":"2014-11-28T07:58:11Z","updated_at":"2016-04-01T05:29:43Z","pushed_at":"2016-04-03T23:20:46Z","git_url":"git://github.com/mukeshsoni/react-telephone-input.git","ssh_url":"git@github.com:mukeshsoni/react-telephone-input.git","clone_url":"https://github.com/mukeshsoni/react-telephone-input.git","svn_url":"https://github.com/mukeshsoni/react-telephone-input","homepage":"http://unstack.in/react-telephone-input/","size":8433,"stargazers_count":33,"watchers_count":33,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":25,"mirror_url":null,"open_issues_count":9,"forks":25,"open_issues":9,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mukeshsoni/react-telephone-input/pulls/46"},"html":{"href":"https://github.com/mukeshsoni/react-telephone-input/pull/46"},"issue":{"href":"https://api.github.com/repos/mukeshsoni/react-telephone-input/issues/46"},"comments":{"href":"https://api.github.com/repos/mukeshsoni/react-telephone-input/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/mukeshsoni/react-telephone-input/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/mukeshsoni/react-telephone-input/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mukeshsoni/react-telephone-input/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/mukeshsoni/react-telephone-input/statuses/ed5473a1d13248724fe1676b44cf980d1480a8c8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":513,"deletions":508,"changed_files":3}}