{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/shelbys/node-replay/pulls/7","id":77894914,"html_url":"https://github.com/shelbys/node-replay/pull/7","diff_url":"https://github.com/shelbys/node-replay/pull/7.diff","patch_url":"https://github.com/shelbys/node-replay/pull/7.patch","issue_url":"https://api.github.com/repos/shelbys/node-replay/issues/7","number":7,"state":"closed","locked":false,"title":"Update npm script paths so they are compatible with npm@3","user":{"login":"bcbailey","id":33684,"avatar_url":"https://avatars.githubusercontent.com/u/33684?v=3","gravatar_id":"","url":"https://api.github.com/users/bcbailey","html_url":"https://github.com/bcbailey","followers_url":"https://api.github.com/users/bcbailey/followers","following_url":"https://api.github.com/users/bcbailey/following{/other_user}","gists_url":"https://api.github.com/users/bcbailey/gists{/gist_id}","starred_url":"https://api.github.com/users/bcbailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcbailey/subscriptions","organizations_url":"https://api.github.com/users/bcbailey/orgs","repos_url":"https://api.github.com/users/bcbailey/repos","events_url":"https://api.github.com/users/bcbailey/events{/privacy}","received_events_url":"https://api.github.com/users/bcbailey/received_events","type":"User","site_admin":false},"body":"The paths for the npm scripts (ex: `postinstall`) specify paths that are dependent on the directory structure that npm version < 3 uses. The `node_modules/.bin` stuff shouldn't be required, as npm prepends it to the `$PATH` when it executes npm scripts.\r\n\r\nError when installing from npm@3:\r\n\r\n```\r\nnpm WARN prefer global coffee-script@1.9.2 should be installed with -g\r\n\r\n> replay@2.0.6 postinstall ***/node_modules/replay\r\n> node node_modules/coffee-script/bin/coffee --bare --compile --output lib/replay src/replay/\r\n\r\nmodule.js:327\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module '***/node_modules/replay/node_modules/coffee-script/bin/coffee'\r\n    at Function.Module._resolveFilename (module.js:325:15)\r\n    at Function.Module._load (module.js:276:25)\r\n    at Function.Module.runMain (module.js:441:10)\r\n    at startup (node.js:139:18)\r\n    at node.js:968:3\r\nnpm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.\r\nnpm ERR! Darwin 15.5.0\r\nnpm ERR! argv \"***/.nvm/versions/node/v4.4.4/bin/node\" \"***/.nvm/versions/node/v4.4.4/bin/npm\" \"install\" \"--save\" \"gd-data-cache\"\r\nnpm ERR! node v4.4.4\r\nnpm ERR! npm  v3.9.2\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! replay@2.0.6 postinstall: `node node_modules/coffee-script/bin/coffee --bare --compile --output lib/replay src/replay/`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the replay@2.0.6 postinstall script 'node node_modules/coffee-script/bin/coffee --bare --compile --output lib/replay src/replay/'.\r\n``","created_at":"2016-07-18T23:12:42Z","updated_at":"2016-07-26T22:41:52Z","closed_at":"2016-07-26T22:41:52Z","merged_at":"2016-07-26T22:41:52Z","merge_commit_sha":"cb1d0b9df55b81d050683aaf4de0784d2ca57a36","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/shelbys/node-replay/pulls/7/commits","review_comments_url":"https://api.github.com/repos/shelbys/node-replay/pulls/7/comments","review_comment_url":"https://api.github.com/repos/shelbys/node-replay/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shelbys/node-replay/issues/7/comments","statuses_url":"https://api.github.com/repos/shelbys/node-replay/statuses/add3b0ecc591e6b70be38ee5b7ea62788c94ef4f","head":{"label":"bcbailey:patch-1","ref":"patch-1","sha":"add3b0ecc591e6b70be38ee5b7ea62788c94ef4f","user":{"login":"bcbailey","id":33684,"avatar_url":"https://avatars.githubusercontent.com/u/33684?v=3","gravatar_id":"","url":"https://api.github.com/users/bcbailey","html_url":"https://github.com/bcbailey","followers_url":"https://api.github.com/users/bcbailey/followers","following_url":"https://api.github.com/users/bcbailey/following{/other_user}","gists_url":"https://api.github.com/users/bcbailey/gists{/gist_id}","starred_url":"https://api.github.com/users/bcbailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcbailey/subscriptions","organizations_url":"https://api.github.com/users/bcbailey/orgs","repos_url":"https://api.github.com/users/bcbailey/repos","events_url":"https://api.github.com/users/bcbailey/events{/privacy}","received_events_url":"https://api.github.com/users/bcbailey/received_events","type":"User","site_admin":false},"repo":{"id":63643110,"name":"node-replay","full_name":"bcbailey/node-replay","owner":{"login":"bcbailey","id":33684,"avatar_url":"https://avatars.githubusercontent.com/u/33684?v=3","gravatar_id":"","url":"https://api.github.com/users/bcbailey","html_url":"https://github.com/bcbailey","followers_url":"https://api.github.com/users/bcbailey/followers","following_url":"https://api.github.com/users/bcbailey/following{/other_user}","gists_url":"https://api.github.com/users/bcbailey/gists{/gist_id}","starred_url":"https://api.github.com/users/bcbailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcbailey/subscriptions","organizations_url":"https://api.github.com/users/bcbailey/orgs","repos_url":"https://api.github.com/users/bcbailey/repos","events_url":"https://api.github.com/users/bcbailey/events{/privacy}","received_events_url":"https://api.github.com/users/bcbailey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bcbailey/node-replay","description":"When API testing slows you down: record and replay HTTP responses like a boss","fork":true,"url":"https://api.github.com/repos/bcbailey/node-replay","forks_url":"https://api.github.com/repos/bcbailey/node-replay/forks","keys_url":"https://api.github.com/repos/bcbailey/node-replay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcbailey/node-replay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcbailey/node-replay/teams","hooks_url":"https://api.github.com/repos/bcbailey/node-replay/hooks","issue_events_url":"https://api.github.com/repos/bcbailey/node-replay/issues/events{/number}","events_url":"https://api.github.com/repos/bcbailey/node-replay/events","assignees_url":"https://api.github.com/repos/bcbailey/node-replay/assignees{/user}","branches_url":"https://api.github.com/repos/bcbailey/node-replay/branches{/branch}","tags_url":"https://api.github.com/repos/bcbailey/node-replay/tags","blobs_url":"https://api.github.com/repos/bcbailey/node-replay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcbailey/node-replay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcbailey/node-replay/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcbailey/node-replay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcbailey/node-replay/statuses/{sha}","languages_url":"https://api.github.com/repos/bcbailey/node-replay/languages","stargazers_url":"https://api.github.com/repos/bcbailey/node-replay/stargazers","contributors_url":"https://api.github.com/repos/bcbailey/node-replay/contributors","subscribers_url":"https://api.github.com/repos/bcbailey/node-replay/subscribers","subscription_url":"https://api.github.com/repos/bcbailey/node-replay/subscription","commits_url":"https://api.github.com/repos/bcbailey/node-replay/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcbailey/node-replay/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcbailey/node-replay/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcbailey/node-replay/issues/comments{/number}","contents_url":"https://api.github.com/repos/bcbailey/node-replay/contents/{+path}","compare_url":"https://api.github.com/repos/bcbailey/node-replay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcbailey/node-replay/merges","archive_url":"https://api.github.com/repos/bcbailey/node-replay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcbailey/node-replay/downloads","issues_url":"https://api.github.com/repos/bcbailey/node-replay/issues{/number}","pulls_url":"https://api.github.com/repos/bcbailey/node-replay/pulls{/number}","milestones_url":"https://api.github.com/repos/bcbailey/node-replay/milestones{/number}","notifications_url":"https://api.github.com/repos/bcbailey/node-replay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcbailey/node-replay/labels{/name}","releases_url":"https://api.github.com/repos/bcbailey/node-replay/releases{/id}","deployments_url":"https://api.github.com/repos/bcbailey/node-replay/deployments","created_at":"2016-07-18T23:06:15Z","updated_at":"2016-07-18T23:06:16Z","pushed_at":"2016-07-18T23:12:26Z","git_url":"git://github.com/bcbailey/node-replay.git","ssh_url":"git@github.com:bcbailey/node-replay.git","clone_url":"https://github.com/bcbailey/node-replay.git","svn_url":"https://github.com/bcbailey/node-replay","homepage":"http://documentup.com/assaf/node-replay","size":200,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","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":"shelbys:master","ref":"master","sha":"f9e0a59a4aeddac2528e757f45281b8e7316792f","user":{"login":"shelbys","id":1594215,"avatar_url":"https://avatars.githubusercontent.com/u/1594215?v=3","gravatar_id":"","url":"https://api.github.com/users/shelbys","html_url":"https://github.com/shelbys","followers_url":"https://api.github.com/users/shelbys/followers","following_url":"https://api.github.com/users/shelbys/following{/other_user}","gists_url":"https://api.github.com/users/shelbys/gists{/gist_id}","starred_url":"https://api.github.com/users/shelbys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shelbys/subscriptions","organizations_url":"https://api.github.com/users/shelbys/orgs","repos_url":"https://api.github.com/users/shelbys/repos","events_url":"https://api.github.com/users/shelbys/events{/privacy}","received_events_url":"https://api.github.com/users/shelbys/received_events","type":"User","site_admin":false},"repo":{"id":22892926,"name":"node-replay","full_name":"shelbys/node-replay","owner":{"login":"shelbys","id":1594215,"avatar_url":"https://avatars.githubusercontent.com/u/1594215?v=3","gravatar_id":"","url":"https://api.github.com/users/shelbys","html_url":"https://github.com/shelbys","followers_url":"https://api.github.com/users/shelbys/followers","following_url":"https://api.github.com/users/shelbys/following{/other_user}","gists_url":"https://api.github.com/users/shelbys/gists{/gist_id}","starred_url":"https://api.github.com/users/shelbys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shelbys/subscriptions","organizations_url":"https://api.github.com/users/shelbys/orgs","repos_url":"https://api.github.com/users/shelbys/repos","events_url":"https://api.github.com/users/shelbys/events{/privacy}","received_events_url":"https://api.github.com/users/shelbys/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shelbys/node-replay","description":"When API testing slows you down: record and replay HTTP responses like a boss","fork":true,"url":"https://api.github.com/repos/shelbys/node-replay","forks_url":"https://api.github.com/repos/shelbys/node-replay/forks","keys_url":"https://api.github.com/repos/shelbys/node-replay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shelbys/node-replay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shelbys/node-replay/teams","hooks_url":"https://api.github.com/repos/shelbys/node-replay/hooks","issue_events_url":"https://api.github.com/repos/shelbys/node-replay/issues/events{/number}","events_url":"https://api.github.com/repos/shelbys/node-replay/events","assignees_url":"https://api.github.com/repos/shelbys/node-replay/assignees{/user}","branches_url":"https://api.github.com/repos/shelbys/node-replay/branches{/branch}","tags_url":"https://api.github.com/repos/shelbys/node-replay/tags","blobs_url":"https://api.github.com/repos/shelbys/node-replay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shelbys/node-replay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shelbys/node-replay/git/refs{/sha}","trees_url":"https://api.github.com/repos/shelbys/node-replay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shelbys/node-replay/statuses/{sha}","languages_url":"https://api.github.com/repos/shelbys/node-replay/languages","stargazers_url":"https://api.github.com/repos/shelbys/node-replay/stargazers","contributors_url":"https://api.github.com/repos/shelbys/node-replay/contributors","subscribers_url":"https://api.github.com/repos/shelbys/node-replay/subscribers","subscription_url":"https://api.github.com/repos/shelbys/node-replay/subscription","commits_url":"https://api.github.com/repos/shelbys/node-replay/commits{/sha}","git_commits_url":"https://api.github.com/repos/shelbys/node-replay/git/commits{/sha}","comments_url":"https://api.github.com/repos/shelbys/node-replay/comments{/number}","issue_comment_url":"https://api.github.com/repos/shelbys/node-replay/issues/comments{/number}","contents_url":"https://api.github.com/repos/shelbys/node-replay/contents/{+path}","compare_url":"https://api.github.com/repos/shelbys/node-replay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shelbys/node-replay/merges","archive_url":"https://api.github.com/repos/shelbys/node-replay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shelbys/node-replay/downloads","issues_url":"https://api.github.com/repos/shelbys/node-replay/issues{/number}","pulls_url":"https://api.github.com/repos/shelbys/node-replay/pulls{/number}","milestones_url":"https://api.github.com/repos/shelbys/node-replay/milestones{/number}","notifications_url":"https://api.github.com/repos/shelbys/node-replay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shelbys/node-replay/labels{/name}","releases_url":"https://api.github.com/repos/shelbys/node-replay/releases{/id}","deployments_url":"https://api.github.com/repos/shelbys/node-replay/deployments","created_at":"2014-08-12T21:20:40Z","updated_at":"2016-06-10T00:12:50Z","pushed_at":"2016-07-26T22:41:53Z","git_url":"git://github.com/shelbys/node-replay.git","ssh_url":"git@github.com:shelbys/node-replay.git","clone_url":"https://github.com/shelbys/node-replay.git","svn_url":"https://github.com/shelbys/node-replay","homepage":"http://documentup.com/assaf/node-replay","size":199,"stargazers_count":2,"watchers_count":2,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shelbys/node-replay/pulls/7"},"html":{"href":"https://github.com/shelbys/node-replay/pull/7"},"issue":{"href":"https://api.github.com/repos/shelbys/node-replay/issues/7"},"comments":{"href":"https://api.github.com/repos/shelbys/node-replay/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/shelbys/node-replay/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/shelbys/node-replay/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shelbys/node-replay/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/shelbys/node-replay/statuses/add3b0ecc591e6b70be38ee5b7ea62788c94ef4f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"shelbys","id":1594215,"avatar_url":"https://avatars.githubusercontent.com/u/1594215?v=3","gravatar_id":"","url":"https://api.github.com/users/shelbys","html_url":"https://github.com/shelbys","followers_url":"https://api.github.com/users/shelbys/followers","following_url":"https://api.github.com/users/shelbys/following{/other_user}","gists_url":"https://api.github.com/users/shelbys/gists{/gist_id}","starred_url":"https://api.github.com/users/shelbys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shelbys/subscriptions","organizations_url":"https://api.github.com/users/shelbys/orgs","repos_url":"https://api.github.com/users/shelbys/repos","events_url":"https://api.github.com/users/shelbys/events{/privacy}","received_events_url":"https://api.github.com/users/shelbys/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":1,"additions":4,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"shelbys"}}