{"action":"opened","number":1321,"pull_request":{"url":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/1321","id":176393181,"html_url":"https://github.com/Hacker0x01/react-datepicker/pull/1321","diff_url":"https://github.com/Hacker0x01/react-datepicker/pull/1321.diff","patch_url":"https://github.com/Hacker0x01/react-datepicker/pull/1321.patch","issue_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/1321","number":1321,"state":"open","locked":false,"title":"Use cross-env for build scripts to fix Windows usage.","user":{"login":"diakonos","id":2521993,"avatar_url":"https://avatars1.githubusercontent.com/u/2521993?v=4","gravatar_id":"","url":"https://api.github.com/users/diakonos","html_url":"https://github.com/diakonos","followers_url":"https://api.github.com/users/diakonos/followers","following_url":"https://api.github.com/users/diakonos/following{/other_user}","gists_url":"https://api.github.com/users/diakonos/gists{/gist_id}","starred_url":"https://api.github.com/users/diakonos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diakonos/subscriptions","organizations_url":"https://api.github.com/users/diakonos/orgs","repos_url":"https://api.github.com/users/diakonos/repos","events_url":"https://api.github.com/users/diakonos/events{/privacy}","received_events_url":"https://api.github.com/users/diakonos/received_events","type":"User","site_admin":false},"body":"I encountered an issue while trying to install this package as part of our Azure deployment. The error was in the `build` script:\r\n\r\n> 'NODE_ENV' is not recognized as an internal or external command\r\n\r\nI noticed that the `build` and `build-dev` scripts are the only 2 which don't use `cross-env` to set the Node environment variable(s) necessary for the script to run. Is this intentional?\r\n\r\nAdding `cross-env` to the scripts fixed the deployment for us as our Azure service is a Windows environment.","created_at":"2018-03-21T06:47:07Z","updated_at":"2018-03-21T06:47:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/1321/commits","review_comments_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/1321/comments","review_comment_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/1321/comments","statuses_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/statuses/51f96659f794e9b2356396a0b3e8f35bd0005f47","head":{"label":"diakonos:master","ref":"master","sha":"51f96659f794e9b2356396a0b3e8f35bd0005f47","user":{"login":"diakonos","id":2521993,"avatar_url":"https://avatars1.githubusercontent.com/u/2521993?v=4","gravatar_id":"","url":"https://api.github.com/users/diakonos","html_url":"https://github.com/diakonos","followers_url":"https://api.github.com/users/diakonos/followers","following_url":"https://api.github.com/users/diakonos/following{/other_user}","gists_url":"https://api.github.com/users/diakonos/gists{/gist_id}","starred_url":"https://api.github.com/users/diakonos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diakonos/subscriptions","organizations_url":"https://api.github.com/users/diakonos/orgs","repos_url":"https://api.github.com/users/diakonos/repos","events_url":"https://api.github.com/users/diakonos/events{/privacy}","received_events_url":"https://api.github.com/users/diakonos/received_events","type":"User","site_admin":false},"repo":{"id":126122251,"name":"react-datepicker","full_name":"diakonos/react-datepicker","owner":{"login":"diakonos","id":2521993,"avatar_url":"https://avatars1.githubusercontent.com/u/2521993?v=4","gravatar_id":"","url":"https://api.github.com/users/diakonos","html_url":"https://github.com/diakonos","followers_url":"https://api.github.com/users/diakonos/followers","following_url":"https://api.github.com/users/diakonos/following{/other_user}","gists_url":"https://api.github.com/users/diakonos/gists{/gist_id}","starred_url":"https://api.github.com/users/diakonos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diakonos/subscriptions","organizations_url":"https://api.github.com/users/diakonos/orgs","repos_url":"https://api.github.com/users/diakonos/repos","events_url":"https://api.github.com/users/diakonos/events{/privacy}","received_events_url":"https://api.github.com/users/diakonos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/diakonos/react-datepicker","description":"A simple and reusable datepicker component for React","fork":true,"url":"https://api.github.com/repos/diakonos/react-datepicker","forks_url":"https://api.github.com/repos/diakonos/react-datepicker/forks","keys_url":"https://api.github.com/repos/diakonos/react-datepicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diakonos/react-datepicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diakonos/react-datepicker/teams","hooks_url":"https://api.github.com/repos/diakonos/react-datepicker/hooks","issue_events_url":"https://api.github.com/repos/diakonos/react-datepicker/issues/events{/number}","events_url":"https://api.github.com/repos/diakonos/react-datepicker/events","assignees_url":"https://api.github.com/repos/diakonos/react-datepicker/assignees{/user}","branches_url":"https://api.github.com/repos/diakonos/react-datepicker/branches{/branch}","tags_url":"https://api.github.com/repos/diakonos/react-datepicker/tags","blobs_url":"https://api.github.com/repos/diakonos/react-datepicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diakonos/react-datepicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diakonos/react-datepicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/diakonos/react-datepicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diakonos/react-datepicker/statuses/{sha}","languages_url":"https://api.github.com/repos/diakonos/react-datepicker/languages","stargazers_url":"https://api.github.com/repos/diakonos/react-datepicker/stargazers","contributors_url":"https://api.github.com/repos/diakonos/react-datepicker/contributors","subscribers_url":"https://api.github.com/repos/diakonos/react-datepicker/subscribers","subscription_url":"https://api.github.com/repos/diakonos/react-datepicker/subscription","commits_url":"https://api.github.com/repos/diakonos/react-datepicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/diakonos/react-datepicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/diakonos/react-datepicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/diakonos/react-datepicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/diakonos/react-datepicker/contents/{+path}","compare_url":"https://api.github.com/repos/diakonos/react-datepicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diakonos/react-datepicker/merges","archive_url":"https://api.github.com/repos/diakonos/react-datepicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diakonos/react-datepicker/downloads","issues_url":"https://api.github.com/repos/diakonos/react-datepicker/issues{/number}","pulls_url":"https://api.github.com/repos/diakonos/react-datepicker/pulls{/number}","milestones_url":"https://api.github.com/repos/diakonos/react-datepicker/milestones{/number}","notifications_url":"https://api.github.com/repos/diakonos/react-datepicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diakonos/react-datepicker/labels{/name}","releases_url":"https://api.github.com/repos/diakonos/react-datepicker/releases{/id}","deployments_url":"https://api.github.com/repos/diakonos/react-datepicker/deployments","created_at":"2018-03-21T04:14:45Z","updated_at":"2018-03-21T04:15:31Z","pushed_at":"2018-03-21T04:15:29Z","git_url":"git://github.com/diakonos/react-datepicker.git","ssh_url":"git@github.com:diakonos/react-datepicker.git","clone_url":"https://github.com/diakonos/react-datepicker.git","svn_url":"https://github.com/diakonos/react-datepicker","homepage":"https://reactdatepicker.com/","size":12584,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Hacker0x01:master","ref":"master","sha":"631b8079ef83225390ddeb9efeb14dd2069f2571","user":{"login":"Hacker0x01","id":3014877,"avatar_url":"https://avatars0.githubusercontent.com/u/3014877?v=4","gravatar_id":"","url":"https://api.github.com/users/Hacker0x01","html_url":"https://github.com/Hacker0x01","followers_url":"https://api.github.com/users/Hacker0x01/followers","following_url":"https://api.github.com/users/Hacker0x01/following{/other_user}","gists_url":"https://api.github.com/users/Hacker0x01/gists{/gist_id}","starred_url":"https://api.github.com/users/Hacker0x01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hacker0x01/subscriptions","organizations_url":"https://api.github.com/users/Hacker0x01/orgs","repos_url":"https://api.github.com/users/Hacker0x01/repos","events_url":"https://api.github.com/users/Hacker0x01/events{/privacy}","received_events_url":"https://api.github.com/users/Hacker0x01/received_events","type":"Organization","site_admin":false},"repo":{"id":21088356,"name":"react-datepicker","full_name":"Hacker0x01/react-datepicker","owner":{"login":"Hacker0x01","id":3014877,"avatar_url":"https://avatars0.githubusercontent.com/u/3014877?v=4","gravatar_id":"","url":"https://api.github.com/users/Hacker0x01","html_url":"https://github.com/Hacker0x01","followers_url":"https://api.github.com/users/Hacker0x01/followers","following_url":"https://api.github.com/users/Hacker0x01/following{/other_user}","gists_url":"https://api.github.com/users/Hacker0x01/gists{/gist_id}","starred_url":"https://api.github.com/users/Hacker0x01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hacker0x01/subscriptions","organizations_url":"https://api.github.com/users/Hacker0x01/orgs","repos_url":"https://api.github.com/users/Hacker0x01/repos","events_url":"https://api.github.com/users/Hacker0x01/events{/privacy}","received_events_url":"https://api.github.com/users/Hacker0x01/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Hacker0x01/react-datepicker","description":"A simple and reusable datepicker component for React","fork":false,"url":"https://api.github.com/repos/Hacker0x01/react-datepicker","forks_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/forks","keys_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/teams","hooks_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/hooks","issue_events_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/events{/number}","events_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/events","assignees_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/assignees{/user}","branches_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/branches{/branch}","tags_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/tags","blobs_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/statuses/{sha}","languages_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/languages","stargazers_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/stargazers","contributors_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/contributors","subscribers_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/subscribers","subscription_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/subscription","commits_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/contents/{+path}","compare_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/merges","archive_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/downloads","issues_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues{/number}","pulls_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls{/number}","milestones_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/milestones{/number}","notifications_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/labels{/name}","releases_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/releases{/id}","deployments_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/deployments","created_at":"2014-06-22T07:40:48Z","updated_at":"2018-03-21T05:33:28Z","pushed_at":"2018-03-19T16:50:17Z","git_url":"git://github.com/Hacker0x01/react-datepicker.git","ssh_url":"git@github.com:Hacker0x01/react-datepicker.git","clone_url":"https://github.com/Hacker0x01/react-datepicker.git","svn_url":"https://github.com/Hacker0x01/react-datepicker","homepage":"https://reactdatepicker.com/","size":12581,"stargazers_count":2478,"watchers_count":2478,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":821,"mirror_url":null,"archived":false,"open_issues_count":278,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":821,"open_issues":278,"watchers":2478,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/1321"},"html":{"href":"https://github.com/Hacker0x01/react-datepicker/pull/1321"},"issue":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/1321"},"comments":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/1321/comments"},"review_comments":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/1321/comments"},"review_comment":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/1321/commits"},"statuses":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/statuses/51f96659f794e9b2356396a0b3e8f35bd0005f47"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":2,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"diakonos"}}