{"action":"created","comment":{"url":"https://api.github.com/repos/eventualbuddha/keysim.js/pulls/comments/48280104","id":48280104,"diff_hunk":"@@ -12,15 +12,32 @@\n     \"url\": \"https://github.com/eventualbuddha/keysim.js\"\n   },\n   \"scripts\": {\n-    \"build\": \"gobble build dist -f\",\n+    \"prebuild\": \"mkdir -p dist\",\n+    \"build:node\": \"npm run prebuild && babel lib/keysim.es > dist/keysim.node.js\",\n+    \"build:browser\": \"npm run prebuild && browserify . --standalone keysim > dist/keysim.browser.js\",\n+    \"build\": \"npm run build:node && npm run build:browser\",\n     \"test\": \"npm run test:node && npm run test:browser\",\n-    \"test:browser\": \"./node_modules/karma/bin/karma start karma.conf.js\",\n-    \"test:node\": \"mocha -R spec --recursive test\"\n+    \"test:browser\": \"karma start --single-run\",\n+    \"test:node\": \"mocha --require babel-register -R spec --recursive test\",\n+    \"prepublish\": \"in-publish && npm test && npm run build || not-in-publish\"","path":"package.json","position":25,"original_position":25,"commit_id":"9166a5ff7c4bf328fea626f55e14031f92bf4b2d","original_commit_id":"9166a5ff7c4bf328fea626f55e14031f92bf4b2d","user":{"login":"mightyiam","id":635591,"avatar_url":"https://avatars.githubusercontent.com/u/635591?v=3","gravatar_id":"","url":"https://api.github.com/users/mightyiam","html_url":"https://github.com/mightyiam","followers_url":"https://api.github.com/users/mightyiam/followers","following_url":"https://api.github.com/users/mightyiam/following{/other_user}","gists_url":"https://api.github.com/users/mightyiam/gists{/gist_id}","starred_url":"https://api.github.com/users/mightyiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mightyiam/subscriptions","organizations_url":"https://api.github.com/users/mightyiam/orgs","repos_url":"https://api.github.com/users/mightyiam/repos","events_url":"https://api.github.com/users/mightyiam/events{/privacy}","received_events_url":"https://api.github.com/users/mightyiam/received_events","type":"User","site_admin":false},"body":"This should make sure that we actually publish the builds. This is good because we don't check the builds in to vcs anymore.","created_at":"2015-12-22T18:05:52Z","updated_at":"2015-12-22T18:05:52Z","html_url":"https://github.com/eventualbuddha/keysim.js/pull/29#discussion_r48280104","pull_request_url":"https://api.github.com/repos/eventualbuddha/keysim.js/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/eventualbuddha/keysim.js/pulls/comments/48280104"},"html":{"href":"https://github.com/eventualbuddha/keysim.js/pull/29#discussion_r48280104"},"pull_request":{"href":"https://api.github.com/repos/eventualbuddha/keysim.js/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/eventualbuddha/keysim.js/pulls/29","id":54300721,"html_url":"https://github.com/eventualbuddha/keysim.js/pull/29","diff_url":"https://github.com/eventualbuddha/keysim.js/pull/29.diff","patch_url":"https://github.com/eventualbuddha/keysim.js/pull/29.patch","issue_url":"https://api.github.com/repos/eventualbuddha/keysim.js/issues/29","number":29,"state":"open","locked":false,"title":"Tooling overhaul","user":{"login":"mightyiam","id":635591,"avatar_url":"https://avatars.githubusercontent.com/u/635591?v=3","gravatar_id":"","url":"https://api.github.com/users/mightyiam","html_url":"https://github.com/mightyiam","followers_url":"https://api.github.com/users/mightyiam/followers","following_url":"https://api.github.com/users/mightyiam/following{/other_user}","gists_url":"https://api.github.com/users/mightyiam/gists{/gist_id}","starred_url":"https://api.github.com/users/mightyiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mightyiam/subscriptions","organizations_url":"https://api.github.com/users/mightyiam/orgs","repos_url":"https://api.github.com/users/mightyiam/repos","events_url":"https://api.github.com/users/mightyiam/events{/privacy}","received_events_url":"https://api.github.com/users/mightyiam/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-12-21T20:44:09Z","updated_at":"2015-12-22T18:05:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7b22a211349aea74f1c51a673dcb5d118e3ae8a7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eventualbuddha/keysim.js/pulls/29/commits","review_comments_url":"https://api.github.com/repos/eventualbuddha/keysim.js/pulls/29/comments","review_comment_url":"https://api.github.com/repos/eventualbuddha/keysim.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eventualbuddha/keysim.js/issues/29/comments","statuses_url":"https://api.github.com/repos/eventualbuddha/keysim.js/statuses/9166a5ff7c4bf328fea626f55e14031f92bf4b2d","head":{"label":"mightyiam:build-browserify","ref":"build-browserify","sha":"9166a5ff7c4bf328fea626f55e14031f92bf4b2d","user":{"login":"mightyiam","id":635591,"avatar_url":"https://avatars.githubusercontent.com/u/635591?v=3","gravatar_id":"","url":"https://api.github.com/users/mightyiam","html_url":"https://github.com/mightyiam","followers_url":"https://api.github.com/users/mightyiam/followers","following_url":"https://api.github.com/users/mightyiam/following{/other_user}","gists_url":"https://api.github.com/users/mightyiam/gists{/gist_id}","starred_url":"https://api.github.com/users/mightyiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mightyiam/subscriptions","organizations_url":"https://api.github.com/users/mightyiam/orgs","repos_url":"https://api.github.com/users/mightyiam/repos","events_url":"https://api.github.com/users/mightyiam/events{/privacy}","received_events_url":"https://api.github.com/users/mightyiam/received_events","type":"User","site_admin":false},"repo":{"id":27045857,"name":"keysim.js","full_name":"mightyiam/keysim.js","owner":{"login":"mightyiam","id":635591,"avatar_url":"https://avatars.githubusercontent.com/u/635591?v=3","gravatar_id":"","url":"https://api.github.com/users/mightyiam","html_url":"https://github.com/mightyiam","followers_url":"https://api.github.com/users/mightyiam/followers","following_url":"https://api.github.com/users/mightyiam/following{/other_user}","gists_url":"https://api.github.com/users/mightyiam/gists{/gist_id}","starred_url":"https://api.github.com/users/mightyiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mightyiam/subscriptions","organizations_url":"https://api.github.com/users/mightyiam/orgs","repos_url":"https://api.github.com/users/mightyiam/repos","events_url":"https://api.github.com/users/mightyiam/events{/privacy}","received_events_url":"https://api.github.com/users/mightyiam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mightyiam/keysim.js","description":"Simulate user keyboard DOM events in tests.","fork":true,"url":"https://api.github.com/repos/mightyiam/keysim.js","forks_url":"https://api.github.com/repos/mightyiam/keysim.js/forks","keys_url":"https://api.github.com/repos/mightyiam/keysim.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mightyiam/keysim.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mightyiam/keysim.js/teams","hooks_url":"https://api.github.com/repos/mightyiam/keysim.js/hooks","issue_events_url":"https://api.github.com/repos/mightyiam/keysim.js/issues/events{/number}","events_url":"https://api.github.com/repos/mightyiam/keysim.js/events","assignees_url":"https://api.github.com/repos/mightyiam/keysim.js/assignees{/user}","branches_url":"https://api.github.com/repos/mightyiam/keysim.js/branches{/branch}","tags_url":"https://api.github.com/repos/mightyiam/keysim.js/tags","blobs_url":"https://api.github.com/repos/mightyiam/keysim.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mightyiam/keysim.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mightyiam/keysim.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/mightyiam/keysim.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mightyiam/keysim.js/statuses/{sha}","languages_url":"https://api.github.com/repos/mightyiam/keysim.js/languages","stargazers_url":"https://api.github.com/repos/mightyiam/keysim.js/stargazers","contributors_url":"https://api.github.com/repos/mightyiam/keysim.js/contributors","subscribers_url":"https://api.github.com/repos/mightyiam/keysim.js/subscribers","subscription_url":"https://api.github.com/repos/mightyiam/keysim.js/subscription","commits_url":"https://api.github.com/repos/mightyiam/keysim.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/mightyiam/keysim.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/mightyiam/keysim.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/mightyiam/keysim.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/mightyiam/keysim.js/contents/{+path}","compare_url":"https://api.github.com/repos/mightyiam/keysim.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mightyiam/keysim.js/merges","archive_url":"https://api.github.com/repos/mightyiam/keysim.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mightyiam/keysim.js/downloads","issues_url":"https://api.github.com/repos/mightyiam/keysim.js/issues{/number}","pulls_url":"https://api.github.com/repos/mightyiam/keysim.js/pulls{/number}","milestones_url":"https://api.github.com/repos/mightyiam/keysim.js/milestones{/number}","notifications_url":"https://api.github.com/repos/mightyiam/keysim.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mightyiam/keysim.js/labels{/name}","releases_url":"https://api.github.com/repos/mightyiam/keysim.js/releases{/id}","created_at":"2014-11-23T20:11:49Z","updated_at":"2015-02-13T17:33:50Z","pushed_at":"2015-12-22T17:59:42Z","git_url":"git://github.com/mightyiam/keysim.js.git","ssh_url":"git@github.com:mightyiam/keysim.js.git","clone_url":"https://github.com/mightyiam/keysim.js.git","svn_url":"https://github.com/mightyiam/keysim.js","homepage":null,"size":99,"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":"eventualbuddha:master","ref":"master","sha":"c4b9f565b43e29eb727183c4aa3730ee5b2593f7","user":{"login":"eventualbuddha","id":1938,"avatar_url":"https://avatars.githubusercontent.com/u/1938?v=3","gravatar_id":"","url":"https://api.github.com/users/eventualbuddha","html_url":"https://github.com/eventualbuddha","followers_url":"https://api.github.com/users/eventualbuddha/followers","following_url":"https://api.github.com/users/eventualbuddha/following{/other_user}","gists_url":"https://api.github.com/users/eventualbuddha/gists{/gist_id}","starred_url":"https://api.github.com/users/eventualbuddha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eventualbuddha/subscriptions","organizations_url":"https://api.github.com/users/eventualbuddha/orgs","repos_url":"https://api.github.com/users/eventualbuddha/repos","events_url":"https://api.github.com/users/eventualbuddha/events{/privacy}","received_events_url":"https://api.github.com/users/eventualbuddha/received_events","type":"User","site_admin":false},"repo":{"id":24969430,"name":"keysim.js","full_name":"eventualbuddha/keysim.js","owner":{"login":"eventualbuddha","id":1938,"avatar_url":"https://avatars.githubusercontent.com/u/1938?v=3","gravatar_id":"","url":"https://api.github.com/users/eventualbuddha","html_url":"https://github.com/eventualbuddha","followers_url":"https://api.github.com/users/eventualbuddha/followers","following_url":"https://api.github.com/users/eventualbuddha/following{/other_user}","gists_url":"https://api.github.com/users/eventualbuddha/gists{/gist_id}","starred_url":"https://api.github.com/users/eventualbuddha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eventualbuddha/subscriptions","organizations_url":"https://api.github.com/users/eventualbuddha/orgs","repos_url":"https://api.github.com/users/eventualbuddha/repos","events_url":"https://api.github.com/users/eventualbuddha/events{/privacy}","received_events_url":"https://api.github.com/users/eventualbuddha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eventualbuddha/keysim.js","description":"Simulate user keyboard DOM events in tests.","fork":false,"url":"https://api.github.com/repos/eventualbuddha/keysim.js","forks_url":"https://api.github.com/repos/eventualbuddha/keysim.js/forks","keys_url":"https://api.github.com/repos/eventualbuddha/keysim.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eventualbuddha/keysim.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eventualbuddha/keysim.js/teams","hooks_url":"https://api.github.com/repos/eventualbuddha/keysim.js/hooks","issue_events_url":"https://api.github.com/repos/eventualbuddha/keysim.js/issues/events{/number}","events_url":"https://api.github.com/repos/eventualbuddha/keysim.js/events","assignees_url":"https://api.github.com/repos/eventualbuddha/keysim.js/assignees{/user}","branches_url":"https://api.github.com/repos/eventualbuddha/keysim.js/branches{/branch}","tags_url":"https://api.github.com/repos/eventualbuddha/keysim.js/tags","blobs_url":"https://api.github.com/repos/eventualbuddha/keysim.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eventualbuddha/keysim.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eventualbuddha/keysim.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/eventualbuddha/keysim.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eventualbuddha/keysim.js/statuses/{sha}","languages_url":"https://api.github.com/repos/eventualbuddha/keysim.js/languages","stargazers_url":"https://api.github.com/repos/eventualbuddha/keysim.js/stargazers","contributors_url":"https://api.github.com/repos/eventualbuddha/keysim.js/contributors","subscribers_url":"https://api.github.com/repos/eventualbuddha/keysim.js/subscribers","subscription_url":"https://api.github.com/repos/eventualbuddha/keysim.js/subscription","commits_url":"https://api.github.com/repos/eventualbuddha/keysim.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/eventualbuddha/keysim.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/eventualbuddha/keysim.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/eventualbuddha/keysim.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/eventualbuddha/keysim.js/contents/{+path}","compare_url":"https://api.github.com/repos/eventualbuddha/keysim.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eventualbuddha/keysim.js/merges","archive_url":"https://api.github.com/repos/eventualbuddha/keysim.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eventualbuddha/keysim.js/downloads","issues_url":"https://api.github.com/repos/eventualbuddha/keysim.js/issues{/number}","pulls_url":"https://api.github.com/repos/eventualbuddha/keysim.js/pulls{/number}","milestones_url":"https://api.github.com/repos/eventualbuddha/keysim.js/milestones{/number}","notifications_url":"https://api.github.com/repos/eventualbuddha/keysim.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eventualbuddha/keysim.js/labels{/name}","releases_url":"https://api.github.com/repos/eventualbuddha/keysim.js/releases{/id}","created_at":"2014-10-09T02:03:15Z","updated_at":"2015-10-01T11:35:08Z","pushed_at":"2015-12-22T17:59:42Z","git_url":"git://github.com/eventualbuddha/keysim.js.git","ssh_url":"git@github.com:eventualbuddha/keysim.js.git","clone_url":"https://github.com/eventualbuddha/keysim.js.git","svn_url":"https://github.com/eventualbuddha/keysim.js","homepage":null,"size":420,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":5,"forks":7,"open_issues":5,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eventualbuddha/keysim.js/pulls/29"},"html":{"href":"https://github.com/eventualbuddha/keysim.js/pull/29"},"issue":{"href":"https://api.github.com/repos/eventualbuddha/keysim.js/issues/29"},"comments":{"href":"https://api.github.com/repos/eventualbuddha/keysim.js/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/eventualbuddha/keysim.js/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/eventualbuddha/keysim.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eventualbuddha/keysim.js/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/eventualbuddha/keysim.js/statuses/9166a5ff7c4bf328fea626f55e14031f92bf4b2d"}}}}