{"action":"opened","number":65,"pull_request":{"url":"https://api.github.com/repos/jupyter/nbdime/pulls/65","id":77719037,"html_url":"https://github.com/jupyter/nbdime/pull/65","diff_url":"https://github.com/jupyter/nbdime/pull/65.diff","patch_url":"https://github.com/jupyter/nbdime/pull/65.patch","issue_url":"https://api.github.com/repos/jupyter/nbdime/issues/65","number":65,"state":"open","locked":false,"title":"Added a command to setup.py to run npm install and build","user":{"login":"gahjelle","id":728076,"avatar_url":"https://avatars.githubusercontent.com/u/728076?v=3","gravatar_id":"","url":"https://api.github.com/users/gahjelle","html_url":"https://github.com/gahjelle","followers_url":"https://api.github.com/users/gahjelle/followers","following_url":"https://api.github.com/users/gahjelle/following{/other_user}","gists_url":"https://api.github.com/users/gahjelle/gists{/gist_id}","starred_url":"https://api.github.com/users/gahjelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gahjelle/subscriptions","organizations_url":"https://api.github.com/users/gahjelle/orgs","repos_url":"https://api.github.com/users/gahjelle/repos","events_url":"https://api.github.com/users/gahjelle/events{/privacy}","received_events_url":"https://api.github.com/users/gahjelle/received_events","type":"User","site_admin":false},"body":"See Issue #51.\r\n\r\nI have added a command for running `npm install` and `npm build` during setup.py. The command is set to be run automatically on `build`, `develop`, and `sdist`. The code is mainly inspired by the similar code for jupyterlab, https://github.com/jupyter/jupyterlab/blob/master/setup.py\r\n\r\nFor now, the `npm install` checks for the `node_modules` directory, and runs if that directory does not exist, while `npm build` runs every time. There might be better ways to trigger this (I am not very familiar with node)?","created_at":"2016-07-16T20:46:47Z","updated_at":"2016-07-16T20:46:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b9874b5728a6eea3070cc50dcab1c7b0183879e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jupyter/nbdime/pulls/65/commits","review_comments_url":"https://api.github.com/repos/jupyter/nbdime/pulls/65/comments","review_comment_url":"https://api.github.com/repos/jupyter/nbdime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jupyter/nbdime/issues/65/comments","statuses_url":"https://api.github.com/repos/jupyter/nbdime/statuses/8280db71c9445b0ef136edf99b60a36592cc7af2","head":{"label":"gahjelle:setup_with_webapp","ref":"setup_with_webapp","sha":"8280db71c9445b0ef136edf99b60a36592cc7af2","user":{"login":"gahjelle","id":728076,"avatar_url":"https://avatars.githubusercontent.com/u/728076?v=3","gravatar_id":"","url":"https://api.github.com/users/gahjelle","html_url":"https://github.com/gahjelle","followers_url":"https://api.github.com/users/gahjelle/followers","following_url":"https://api.github.com/users/gahjelle/following{/other_user}","gists_url":"https://api.github.com/users/gahjelle/gists{/gist_id}","starred_url":"https://api.github.com/users/gahjelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gahjelle/subscriptions","organizations_url":"https://api.github.com/users/gahjelle/orgs","repos_url":"https://api.github.com/users/gahjelle/repos","events_url":"https://api.github.com/users/gahjelle/events{/privacy}","received_events_url":"https://api.github.com/users/gahjelle/received_events","type":"User","site_admin":false},"repo":{"id":63488516,"name":"nbdime","full_name":"gahjelle/nbdime","owner":{"login":"gahjelle","id":728076,"avatar_url":"https://avatars.githubusercontent.com/u/728076?v=3","gravatar_id":"","url":"https://api.github.com/users/gahjelle","html_url":"https://github.com/gahjelle","followers_url":"https://api.github.com/users/gahjelle/followers","following_url":"https://api.github.com/users/gahjelle/following{/other_user}","gists_url":"https://api.github.com/users/gahjelle/gists{/gist_id}","starred_url":"https://api.github.com/users/gahjelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gahjelle/subscriptions","organizations_url":"https://api.github.com/users/gahjelle/orgs","repos_url":"https://api.github.com/users/gahjelle/repos","events_url":"https://api.github.com/users/gahjelle/events{/privacy}","received_events_url":"https://api.github.com/users/gahjelle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gahjelle/nbdime","description":"Tools for diffing and merging of Jupyter notebooks.","fork":true,"url":"https://api.github.com/repos/gahjelle/nbdime","forks_url":"https://api.github.com/repos/gahjelle/nbdime/forks","keys_url":"https://api.github.com/repos/gahjelle/nbdime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gahjelle/nbdime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gahjelle/nbdime/teams","hooks_url":"https://api.github.com/repos/gahjelle/nbdime/hooks","issue_events_url":"https://api.github.com/repos/gahjelle/nbdime/issues/events{/number}","events_url":"https://api.github.com/repos/gahjelle/nbdime/events","assignees_url":"https://api.github.com/repos/gahjelle/nbdime/assignees{/user}","branches_url":"https://api.github.com/repos/gahjelle/nbdime/branches{/branch}","tags_url":"https://api.github.com/repos/gahjelle/nbdime/tags","blobs_url":"https://api.github.com/repos/gahjelle/nbdime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gahjelle/nbdime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gahjelle/nbdime/git/refs{/sha}","trees_url":"https://api.github.com/repos/gahjelle/nbdime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gahjelle/nbdime/statuses/{sha}","languages_url":"https://api.github.com/repos/gahjelle/nbdime/languages","stargazers_url":"https://api.github.com/repos/gahjelle/nbdime/stargazers","contributors_url":"https://api.github.com/repos/gahjelle/nbdime/contributors","subscribers_url":"https://api.github.com/repos/gahjelle/nbdime/subscribers","subscription_url":"https://api.github.com/repos/gahjelle/nbdime/subscription","commits_url":"https://api.github.com/repos/gahjelle/nbdime/commits{/sha}","git_commits_url":"https://api.github.com/repos/gahjelle/nbdime/git/commits{/sha}","comments_url":"https://api.github.com/repos/gahjelle/nbdime/comments{/number}","issue_comment_url":"https://api.github.com/repos/gahjelle/nbdime/issues/comments{/number}","contents_url":"https://api.github.com/repos/gahjelle/nbdime/contents/{+path}","compare_url":"https://api.github.com/repos/gahjelle/nbdime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gahjelle/nbdime/merges","archive_url":"https://api.github.com/repos/gahjelle/nbdime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gahjelle/nbdime/downloads","issues_url":"https://api.github.com/repos/gahjelle/nbdime/issues{/number}","pulls_url":"https://api.github.com/repos/gahjelle/nbdime/pulls{/number}","milestones_url":"https://api.github.com/repos/gahjelle/nbdime/milestones{/number}","notifications_url":"https://api.github.com/repos/gahjelle/nbdime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gahjelle/nbdime/labels{/name}","releases_url":"https://api.github.com/repos/gahjelle/nbdime/releases{/id}","deployments_url":"https://api.github.com/repos/gahjelle/nbdime/deployments","created_at":"2016-07-16T15:12:24Z","updated_at":"2016-07-16T15:12:26Z","pushed_at":"2016-07-16T20:37:34Z","git_url":"git://github.com/gahjelle/nbdime.git","ssh_url":"git@github.com:gahjelle/nbdime.git","clone_url":"https://github.com/gahjelle/nbdime.git","svn_url":"https://github.com/gahjelle/nbdime","homepage":"http://nbdime.readthedocs.io","size":581,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"jupyter:master","ref":"master","sha":"ed9023ab8c582c5bb774d967bfc6111751fc3e90","user":{"login":"jupyter","id":7388996,"avatar_url":"https://avatars.githubusercontent.com/u/7388996?v=3","gravatar_id":"","url":"https://api.github.com/users/jupyter","html_url":"https://github.com/jupyter","followers_url":"https://api.github.com/users/jupyter/followers","following_url":"https://api.github.com/users/jupyter/following{/other_user}","gists_url":"https://api.github.com/users/jupyter/gists{/gist_id}","starred_url":"https://api.github.com/users/jupyter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jupyter/subscriptions","organizations_url":"https://api.github.com/users/jupyter/orgs","repos_url":"https://api.github.com/users/jupyter/repos","events_url":"https://api.github.com/users/jupyter/events{/privacy}","received_events_url":"https://api.github.com/users/jupyter/received_events","type":"Organization","site_admin":false},"repo":{"id":46264628,"name":"nbdime","full_name":"jupyter/nbdime","owner":{"login":"jupyter","id":7388996,"avatar_url":"https://avatars.githubusercontent.com/u/7388996?v=3","gravatar_id":"","url":"https://api.github.com/users/jupyter","html_url":"https://github.com/jupyter","followers_url":"https://api.github.com/users/jupyter/followers","following_url":"https://api.github.com/users/jupyter/following{/other_user}","gists_url":"https://api.github.com/users/jupyter/gists{/gist_id}","starred_url":"https://api.github.com/users/jupyter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jupyter/subscriptions","organizations_url":"https://api.github.com/users/jupyter/orgs","repos_url":"https://api.github.com/users/jupyter/repos","events_url":"https://api.github.com/users/jupyter/events{/privacy}","received_events_url":"https://api.github.com/users/jupyter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jupyter/nbdime","description":"Tools for diffing and merging of Jupyter notebooks.","fork":false,"url":"https://api.github.com/repos/jupyter/nbdime","forks_url":"https://api.github.com/repos/jupyter/nbdime/forks","keys_url":"https://api.github.com/repos/jupyter/nbdime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jupyter/nbdime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jupyter/nbdime/teams","hooks_url":"https://api.github.com/repos/jupyter/nbdime/hooks","issue_events_url":"https://api.github.com/repos/jupyter/nbdime/issues/events{/number}","events_url":"https://api.github.com/repos/jupyter/nbdime/events","assignees_url":"https://api.github.com/repos/jupyter/nbdime/assignees{/user}","branches_url":"https://api.github.com/repos/jupyter/nbdime/branches{/branch}","tags_url":"https://api.github.com/repos/jupyter/nbdime/tags","blobs_url":"https://api.github.com/repos/jupyter/nbdime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jupyter/nbdime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jupyter/nbdime/git/refs{/sha}","trees_url":"https://api.github.com/repos/jupyter/nbdime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jupyter/nbdime/statuses/{sha}","languages_url":"https://api.github.com/repos/jupyter/nbdime/languages","stargazers_url":"https://api.github.com/repos/jupyter/nbdime/stargazers","contributors_url":"https://api.github.com/repos/jupyter/nbdime/contributors","subscribers_url":"https://api.github.com/repos/jupyter/nbdime/subscribers","subscription_url":"https://api.github.com/repos/jupyter/nbdime/subscription","commits_url":"https://api.github.com/repos/jupyter/nbdime/commits{/sha}","git_commits_url":"https://api.github.com/repos/jupyter/nbdime/git/commits{/sha}","comments_url":"https://api.github.com/repos/jupyter/nbdime/comments{/number}","issue_comment_url":"https://api.github.com/repos/jupyter/nbdime/issues/comments{/number}","contents_url":"https://api.github.com/repos/jupyter/nbdime/contents/{+path}","compare_url":"https://api.github.com/repos/jupyter/nbdime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jupyter/nbdime/merges","archive_url":"https://api.github.com/repos/jupyter/nbdime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jupyter/nbdime/downloads","issues_url":"https://api.github.com/repos/jupyter/nbdime/issues{/number}","pulls_url":"https://api.github.com/repos/jupyter/nbdime/pulls{/number}","milestones_url":"https://api.github.com/repos/jupyter/nbdime/milestones{/number}","notifications_url":"https://api.github.com/repos/jupyter/nbdime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jupyter/nbdime/labels{/name}","releases_url":"https://api.github.com/repos/jupyter/nbdime/releases{/id}","deployments_url":"https://api.github.com/repos/jupyter/nbdime/deployments","created_at":"2015-11-16T09:25:53Z","updated_at":"2016-07-16T20:16:33Z","pushed_at":"2016-07-15T16:48:47Z","git_url":"git://github.com/jupyter/nbdime.git","ssh_url":"git@github.com:jupyter/nbdime.git","clone_url":"https://github.com/jupyter/nbdime.git","svn_url":"https://github.com/jupyter/nbdime","homepage":"http://nbdime.readthedocs.io","size":581,"stargazers_count":57,"watchers_count":57,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":24,"forks":12,"open_issues":24,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jupyter/nbdime/pulls/65"},"html":{"href":"https://github.com/jupyter/nbdime/pull/65"},"issue":{"href":"https://api.github.com/repos/jupyter/nbdime/issues/65"},"comments":{"href":"https://api.github.com/repos/jupyter/nbdime/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/jupyter/nbdime/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/jupyter/nbdime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jupyter/nbdime/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/jupyter/nbdime/statuses/8280db71c9445b0ef136edf99b60a36592cc7af2"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":70,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"gahjelle"}}