{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/jest/pulls/comments/54219177","id":54219177,"diff_hunk":"@@ -38,9 +40,12 @@\n   },\n   \"scripts\": {\n     \"lint\": \"eslint .\",\n-    \"prepublish\": \"npm test\",\n+    \"prepublish\": \"npm run check-links && npm test\",\n     \"test\": \"npm run lint && node bin/jest.js && npm run jasmine1\",\n-    \"jasmine1\": \"node bin/jest.js --testRunner='<rootDir>/testRunners/jasmine/jasmine1.js'\"\n+    \"jasmine1\": \"node bin/jest.js --testRunner='<rootDir>/testRunners/jasmine/jasmine1.js'\",\n+    \"check-links\": \"[ \\\"$NODE_ENV\\\" != production ] && npm run link-packages\",","path":"package.json","position":20,"original_position":20,"commit_id":"0ad0b6265162f1091f9def5682fe3c83590cc9d7","original_commit_id":"0ad0b6265162f1091f9def5682fe3c83590cc9d7","user":{"login":"cpojer","id":13352,"avatar_url":"https://avatars.githubusercontent.com/u/13352?v=3","gravatar_id":"","url":"https://api.github.com/users/cpojer","html_url":"https://github.com/cpojer","followers_url":"https://api.github.com/users/cpojer/followers","following_url":"https://api.github.com/users/cpojer/following{/other_user}","gists_url":"https://api.github.com/users/cpojer/gists{/gist_id}","starred_url":"https://api.github.com/users/cpojer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpojer/subscriptions","organizations_url":"https://api.github.com/users/cpojer/orgs","repos_url":"https://api.github.com/users/cpojer/repos","events_url":"https://api.github.com/users/cpojer/events{/privacy}","received_events_url":"https://api.github.com/users/cpojer/received_events","type":"User","site_admin":false},"body":"why are you checking for node env here? :)\r\n\r\nI think `npm test` should also do `check-links`.","created_at":"2016-02-26T09:11:23Z","updated_at":"2016-02-26T09:11:23Z","html_url":"https://github.com/facebook/jest/pull/746#discussion_r54219177","pull_request_url":"https://api.github.com/repos/facebook/jest/pulls/746","_links":{"self":{"href":"https://api.github.com/repos/facebook/jest/pulls/comments/54219177"},"html":{"href":"https://github.com/facebook/jest/pull/746#discussion_r54219177"},"pull_request":{"href":"https://api.github.com/repos/facebook/jest/pulls/746"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/jest/pulls/746","id":60733883,"html_url":"https://github.com/facebook/jest/pull/746","diff_url":"https://github.com/facebook/jest/pull/746.diff","patch_url":"https://github.com/facebook/jest/pull/746.patch","issue_url":"https://api.github.com/repos/facebook/jest/issues/746","number":746,"state":"open","locked":false,"title":"Merged master and config branches. Added package linking script.","user":{"login":"AlexJuarez","id":1129568,"avatar_url":"https://avatars.githubusercontent.com/u/1129568?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexJuarez","html_url":"https://github.com/AlexJuarez","followers_url":"https://api.github.com/users/AlexJuarez/followers","following_url":"https://api.github.com/users/AlexJuarez/following{/other_user}","gists_url":"https://api.github.com/users/AlexJuarez/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexJuarez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexJuarez/subscriptions","organizations_url":"https://api.github.com/users/AlexJuarez/orgs","repos_url":"https://api.github.com/users/AlexJuarez/repos","events_url":"https://api.github.com/users/AlexJuarez/events{/privacy}","received_events_url":"https://api.github.com/users/AlexJuarez/received_events","type":"User","site_admin":false},"body":"See #721 for the history.\r\nAccidentally, reset the remote reflog so need to open a new pull request.\r\n\r\nI updated the scripts in package.json to create symlinks when in development for local packages.","created_at":"2016-02-25T19:33:36Z","updated_at":"2016-02-26T09:11:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c2675389a9a952b8c64334425f9f0a00724a808e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/jest/pulls/746/commits","review_comments_url":"https://api.github.com/repos/facebook/jest/pulls/746/comments","review_comment_url":"https://api.github.com/repos/facebook/jest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/jest/issues/746/comments","statuses_url":"https://api.github.com/repos/facebook/jest/statuses/0ad0b6265162f1091f9def5682fe3c83590cc9d7","head":{"label":"AlexJuarez:config","ref":"config","sha":"0ad0b6265162f1091f9def5682fe3c83590cc9d7","user":{"login":"AlexJuarez","id":1129568,"avatar_url":"https://avatars.githubusercontent.com/u/1129568?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexJuarez","html_url":"https://github.com/AlexJuarez","followers_url":"https://api.github.com/users/AlexJuarez/followers","following_url":"https://api.github.com/users/AlexJuarez/following{/other_user}","gists_url":"https://api.github.com/users/AlexJuarez/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexJuarez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexJuarez/subscriptions","organizations_url":"https://api.github.com/users/AlexJuarez/orgs","repos_url":"https://api.github.com/users/AlexJuarez/repos","events_url":"https://api.github.com/users/AlexJuarez/events{/privacy}","received_events_url":"https://api.github.com/users/AlexJuarez/received_events","type":"User","site_admin":false},"repo":{"id":52047102,"name":"jest","full_name":"AlexJuarez/jest","owner":{"login":"AlexJuarez","id":1129568,"avatar_url":"https://avatars.githubusercontent.com/u/1129568?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexJuarez","html_url":"https://github.com/AlexJuarez","followers_url":"https://api.github.com/users/AlexJuarez/followers","following_url":"https://api.github.com/users/AlexJuarez/following{/other_user}","gists_url":"https://api.github.com/users/AlexJuarez/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexJuarez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexJuarez/subscriptions","organizations_url":"https://api.github.com/users/AlexJuarez/orgs","repos_url":"https://api.github.com/users/AlexJuarez/repos","events_url":"https://api.github.com/users/AlexJuarez/events{/privacy}","received_events_url":"https://api.github.com/users/AlexJuarez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlexJuarez/jest","description":"Painless JavaScript Unit Testing built on top of the Jasmine test framework.","fork":true,"url":"https://api.github.com/repos/AlexJuarez/jest","forks_url":"https://api.github.com/repos/AlexJuarez/jest/forks","keys_url":"https://api.github.com/repos/AlexJuarez/jest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexJuarez/jest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexJuarez/jest/teams","hooks_url":"https://api.github.com/repos/AlexJuarez/jest/hooks","issue_events_url":"https://api.github.com/repos/AlexJuarez/jest/issues/events{/number}","events_url":"https://api.github.com/repos/AlexJuarez/jest/events","assignees_url":"https://api.github.com/repos/AlexJuarez/jest/assignees{/user}","branches_url":"https://api.github.com/repos/AlexJuarez/jest/branches{/branch}","tags_url":"https://api.github.com/repos/AlexJuarez/jest/tags","blobs_url":"https://api.github.com/repos/AlexJuarez/jest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexJuarez/jest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexJuarez/jest/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexJuarez/jest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexJuarez/jest/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexJuarez/jest/languages","stargazers_url":"https://api.github.com/repos/AlexJuarez/jest/stargazers","contributors_url":"https://api.github.com/repos/AlexJuarez/jest/contributors","subscribers_url":"https://api.github.com/repos/AlexJuarez/jest/subscribers","subscription_url":"https://api.github.com/repos/AlexJuarez/jest/subscription","commits_url":"https://api.github.com/repos/AlexJuarez/jest/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexJuarez/jest/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexJuarez/jest/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexJuarez/jest/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexJuarez/jest/contents/{+path}","compare_url":"https://api.github.com/repos/AlexJuarez/jest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexJuarez/jest/merges","archive_url":"https://api.github.com/repos/AlexJuarez/jest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexJuarez/jest/downloads","issues_url":"https://api.github.com/repos/AlexJuarez/jest/issues{/number}","pulls_url":"https://api.github.com/repos/AlexJuarez/jest/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexJuarez/jest/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexJuarez/jest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexJuarez/jest/labels{/name}","releases_url":"https://api.github.com/repos/AlexJuarez/jest/releases{/id}","deployments_url":"https://api.github.com/repos/AlexJuarez/jest/deployments","created_at":"2016-02-18T23:38:58Z","updated_at":"2016-02-18T23:38:59Z","pushed_at":"2016-02-25T19:23:19Z","git_url":"git://github.com/AlexJuarez/jest.git","ssh_url":"git@github.com:AlexJuarez/jest.git","clone_url":"https://github.com/AlexJuarez/jest.git","svn_url":"https://github.com/AlexJuarez/jest","homepage":"http://facebook.github.io/jest/","size":1506,"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":"facebook:master","ref":"master","sha":"3a38ddf64289a19c3a176c8c0a4e89c03314a85e","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":15062869,"name":"jest","full_name":"facebook/jest","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/jest","description":"Painless JavaScript Unit Testing built on top of the Jasmine test framework.","fork":false,"url":"https://api.github.com/repos/facebook/jest","forks_url":"https://api.github.com/repos/facebook/jest/forks","keys_url":"https://api.github.com/repos/facebook/jest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/jest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/jest/teams","hooks_url":"https://api.github.com/repos/facebook/jest/hooks","issue_events_url":"https://api.github.com/repos/facebook/jest/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/jest/events","assignees_url":"https://api.github.com/repos/facebook/jest/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/jest/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/jest/tags","blobs_url":"https://api.github.com/repos/facebook/jest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/jest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/jest/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/jest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/jest/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/jest/languages","stargazers_url":"https://api.github.com/repos/facebook/jest/stargazers","contributors_url":"https://api.github.com/repos/facebook/jest/contributors","subscribers_url":"https://api.github.com/repos/facebook/jest/subscribers","subscription_url":"https://api.github.com/repos/facebook/jest/subscription","commits_url":"https://api.github.com/repos/facebook/jest/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/jest/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/jest/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/jest/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/jest/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/jest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/jest/merges","archive_url":"https://api.github.com/repos/facebook/jest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/jest/downloads","issues_url":"https://api.github.com/repos/facebook/jest/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/jest/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/jest/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/jest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/jest/labels{/name}","releases_url":"https://api.github.com/repos/facebook/jest/releases{/id}","deployments_url":"https://api.github.com/repos/facebook/jest/deployments","created_at":"2013-12-10T00:18:04Z","updated_at":"2016-02-26T08:54:48Z","pushed_at":"2016-02-26T08:33:41Z","git_url":"git://github.com/facebook/jest.git","ssh_url":"git@github.com:facebook/jest.git","clone_url":"https://github.com/facebook/jest.git","svn_url":"https://github.com/facebook/jest","homepage":"http://facebook.github.io/jest/","size":2683,"stargazers_count":3578,"watchers_count":3578,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":408,"mirror_url":null,"open_issues_count":78,"forks":408,"open_issues":78,"watchers":3578,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/jest/pulls/746"},"html":{"href":"https://github.com/facebook/jest/pull/746"},"issue":{"href":"https://api.github.com/repos/facebook/jest/issues/746"},"comments":{"href":"https://api.github.com/repos/facebook/jest/issues/746/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/jest/pulls/746/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/jest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/jest/pulls/746/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/jest/statuses/0ad0b6265162f1091f9def5682fe3c83590cc9d7"}}}}