{"action":"created","comment":{"url":"https://api.github.com/repos/hoodiehq/hoodie-client/pulls/comments/45226547","id":45226547,"diff_hunk":"@@ -3,7 +3,11 @@\n   \"description\": \"Hoodie Client Core\",\n   \"main\": \"index.js\",\n   \"scripts\": {\n-    \"test\": \"standard && npm run -s test:node | tap-spec\",\n+    \"build\": \"npm-run-all -p build:*\",\n+    \"build:dev\": \"browserify -s Hoodie index.js -o hoodie.js\",\n+    \"build:min\": \"browserify -s Hoodie -g uglifyify index.js | uglifyjs -c -o hoodie.min.js\",","path":"package.json","position":7,"original_position":7,"commit_id":"31eedeb9202fbb7b4f2fa96088eabf851060fa14","original_commit_id":"31eedeb9202fbb7b4f2fa96088eabf851060fa14","user":{"login":"gr2m","id":39992,"avatar_url":"https://avatars.githubusercontent.com/u/39992?v=3","gravatar_id":"","url":"https://api.github.com/users/gr2m","html_url":"https://github.com/gr2m","followers_url":"https://api.github.com/users/gr2m/followers","following_url":"https://api.github.com/users/gr2m/following{/other_user}","gists_url":"https://api.github.com/users/gr2m/gists{/gist_id}","starred_url":"https://api.github.com/users/gr2m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gr2m/subscriptions","organizations_url":"https://api.github.com/users/gr2m/orgs","repos_url":"https://api.github.com/users/gr2m/repos","events_url":"https://api.github.com/users/gr2m/events{/privacy}","received_events_url":"https://api.github.com/users/gr2m/received_events","type":"User","site_admin":false},"body":"In the other repos, we bundle into `/dist` folder. Shall we do that here as well to follow the convention? See https://github.com/hoodiehq/hoodie-client-store/blob/master/package.json#L7 for example","created_at":"2015-11-18T16:57:59Z","updated_at":"2015-11-18T16:57:59Z","html_url":"https://github.com/hoodiehq/hoodie-client/pull/8#discussion_r45226547","pull_request_url":"https://api.github.com/repos/hoodiehq/hoodie-client/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/hoodiehq/hoodie-client/pulls/comments/45226547"},"html":{"href":"https://github.com/hoodiehq/hoodie-client/pull/8#discussion_r45226547"},"pull_request":{"href":"https://api.github.com/repos/hoodiehq/hoodie-client/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/hoodiehq/hoodie-client/pulls/8","id":51109337,"html_url":"https://github.com/hoodiehq/hoodie-client/pull/8","diff_url":"https://github.com/hoodiehq/hoodie-client/pull/8.diff","patch_url":"https://github.com/hoodiehq/hoodie-client/pull/8.patch","issue_url":"https://api.github.com/repos/hoodiehq/hoodie-client/issues/8","number":8,"state":"open","locked":false,"title":"add precompiled browserify bundle","user":{"login":"boennemann","id":908178,"avatar_url":"https://avatars.githubusercontent.com/u/908178?v=3","gravatar_id":"","url":"https://api.github.com/users/boennemann","html_url":"https://github.com/boennemann","followers_url":"https://api.github.com/users/boennemann/followers","following_url":"https://api.github.com/users/boennemann/following{/other_user}","gists_url":"https://api.github.com/users/boennemann/gists{/gist_id}","starred_url":"https://api.github.com/users/boennemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boennemann/subscriptions","organizations_url":"https://api.github.com/users/boennemann/orgs","repos_url":"https://api.github.com/users/boennemann/repos","events_url":"https://api.github.com/users/boennemann/events{/privacy}","received_events_url":"https://api.github.com/users/boennemann/received_events","type":"User","site_admin":false},"body":"This is required for https://github.com/hoodiehq/hoodie-server/pull/418.\r\n\r\nAs we are now just serving the hoodie-client we can save a lot of time on the hoodie-server by bundling hoodie once on publish time and serving that statically.\r\n\r\nCaveat: Currently the builds are huge 600kb, 300kb min, 80kb min/gzipped. We should maybe generate a minimal lodash build on the fly using: https://github.com/megawac/babel-plugin-lodash later. This is good enough to unblock hoodie-server now though.\r\n\r\n","created_at":"2015-11-18T16:45:36Z","updated_at":"2015-11-18T16:57:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"997e29cadfcdbc031e3c2ac5055a7df02e469b75","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hoodiehq/hoodie-client/pulls/8/commits","review_comments_url":"https://api.github.com/repos/hoodiehq/hoodie-client/pulls/8/comments","review_comment_url":"https://api.github.com/repos/hoodiehq/hoodie-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hoodiehq/hoodie-client/issues/8/comments","statuses_url":"https://api.github.com/repos/hoodiehq/hoodie-client/statuses/31eedeb9202fbb7b4f2fa96088eabf851060fa14","head":{"label":"hoodiehq:feat-browserify","ref":"feat-browserify","sha":"31eedeb9202fbb7b4f2fa96088eabf851060fa14","user":{"login":"hoodiehq","id":1888826,"avatar_url":"https://avatars.githubusercontent.com/u/1888826?v=3","gravatar_id":"","url":"https://api.github.com/users/hoodiehq","html_url":"https://github.com/hoodiehq","followers_url":"https://api.github.com/users/hoodiehq/followers","following_url":"https://api.github.com/users/hoodiehq/following{/other_user}","gists_url":"https://api.github.com/users/hoodiehq/gists{/gist_id}","starred_url":"https://api.github.com/users/hoodiehq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoodiehq/subscriptions","organizations_url":"https://api.github.com/users/hoodiehq/orgs","repos_url":"https://api.github.com/users/hoodiehq/repos","events_url":"https://api.github.com/users/hoodiehq/events{/privacy}","received_events_url":"https://api.github.com/users/hoodiehq/received_events","type":"Organization","site_admin":false},"repo":{"id":42713185,"name":"hoodie-client","full_name":"hoodiehq/hoodie-client","owner":{"login":"hoodiehq","id":1888826,"avatar_url":"https://avatars.githubusercontent.com/u/1888826?v=3","gravatar_id":"","url":"https://api.github.com/users/hoodiehq","html_url":"https://github.com/hoodiehq","followers_url":"https://api.github.com/users/hoodiehq/followers","following_url":"https://api.github.com/users/hoodiehq/following{/other_user}","gists_url":"https://api.github.com/users/hoodiehq/gists{/gist_id}","starred_url":"https://api.github.com/users/hoodiehq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoodiehq/subscriptions","organizations_url":"https://api.github.com/users/hoodiehq/orgs","repos_url":"https://api.github.com/users/hoodiehq/repos","events_url":"https://api.github.com/users/hoodiehq/events{/privacy}","received_events_url":"https://api.github.com/users/hoodiehq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hoodiehq/hoodie-client","description":"Hoodie Core Client","fork":false,"url":"https://api.github.com/repos/hoodiehq/hoodie-client","forks_url":"https://api.github.com/repos/hoodiehq/hoodie-client/forks","keys_url":"https://api.github.com/repos/hoodiehq/hoodie-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hoodiehq/hoodie-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hoodiehq/hoodie-client/teams","hooks_url":"https://api.github.com/repos/hoodiehq/hoodie-client/hooks","issue_events_url":"https://api.github.com/repos/hoodiehq/hoodie-client/issues/events{/number}","events_url":"https://api.github.com/repos/hoodiehq/hoodie-client/events","assignees_url":"https://api.github.com/repos/hoodiehq/hoodie-client/assignees{/user}","branches_url":"https://api.github.com/repos/hoodiehq/hoodie-client/branches{/branch}","tags_url":"https://api.github.com/repos/hoodiehq/hoodie-client/tags","blobs_url":"https://api.github.com/repos/hoodiehq/hoodie-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hoodiehq/hoodie-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hoodiehq/hoodie-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/hoodiehq/hoodie-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hoodiehq/hoodie-client/statuses/{sha}","languages_url":"https://api.github.com/repos/hoodiehq/hoodie-client/languages","stargazers_url":"https://api.github.com/repos/hoodiehq/hoodie-client/stargazers","contributors_url":"https://api.github.com/repos/hoodiehq/hoodie-client/contributors","subscribers_url":"https://api.github.com/repos/hoodiehq/hoodie-client/subscribers","subscription_url":"https://api.github.com/repos/hoodiehq/hoodie-client/subscription","commits_url":"https://api.github.com/repos/hoodiehq/hoodie-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/hoodiehq/hoodie-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/hoodiehq/hoodie-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/hoodiehq/hoodie-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/hoodiehq/hoodie-client/contents/{+path}","compare_url":"https://api.github.com/repos/hoodiehq/hoodie-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hoodiehq/hoodie-client/merges","archive_url":"https://api.github.com/repos/hoodiehq/hoodie-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hoodiehq/hoodie-client/downloads","issues_url":"https://api.github.com/repos/hoodiehq/hoodie-client/issues{/number}","pulls_url":"https://api.github.com/repos/hoodiehq/hoodie-client/pulls{/number}","milestones_url":"https://api.github.com/repos/hoodiehq/hoodie-client/milestones{/number}","notifications_url":"https://api.github.com/repos/hoodiehq/hoodie-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hoodiehq/hoodie-client/labels{/name}","releases_url":"https://api.github.com/repos/hoodiehq/hoodie-client/releases{/id}","created_at":"2015-09-18T09:46:35Z","updated_at":"2015-10-16T12:39:28Z","pushed_at":"2015-11-18T16:45:36Z","git_url":"git://github.com/hoodiehq/hoodie-client.git","ssh_url":"git@github.com:hoodiehq/hoodie-client.git","clone_url":"https://github.com/hoodiehq/hoodie-client.git","svn_url":"https://github.com/hoodiehq/hoodie-client","homepage":null,"size":7,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":3,"default_branch":"master"}},"base":{"label":"hoodiehq:master","ref":"master","sha":"7a308cef632c31cb8f77fafa74656d95cb16e4a8","user":{"login":"hoodiehq","id":1888826,"avatar_url":"https://avatars.githubusercontent.com/u/1888826?v=3","gravatar_id":"","url":"https://api.github.com/users/hoodiehq","html_url":"https://github.com/hoodiehq","followers_url":"https://api.github.com/users/hoodiehq/followers","following_url":"https://api.github.com/users/hoodiehq/following{/other_user}","gists_url":"https://api.github.com/users/hoodiehq/gists{/gist_id}","starred_url":"https://api.github.com/users/hoodiehq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoodiehq/subscriptions","organizations_url":"https://api.github.com/users/hoodiehq/orgs","repos_url":"https://api.github.com/users/hoodiehq/repos","events_url":"https://api.github.com/users/hoodiehq/events{/privacy}","received_events_url":"https://api.github.com/users/hoodiehq/received_events","type":"Organization","site_admin":false},"repo":{"id":42713185,"name":"hoodie-client","full_name":"hoodiehq/hoodie-client","owner":{"login":"hoodiehq","id":1888826,"avatar_url":"https://avatars.githubusercontent.com/u/1888826?v=3","gravatar_id":"","url":"https://api.github.com/users/hoodiehq","html_url":"https://github.com/hoodiehq","followers_url":"https://api.github.com/users/hoodiehq/followers","following_url":"https://api.github.com/users/hoodiehq/following{/other_user}","gists_url":"https://api.github.com/users/hoodiehq/gists{/gist_id}","starred_url":"https://api.github.com/users/hoodiehq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoodiehq/subscriptions","organizations_url":"https://api.github.com/users/hoodiehq/orgs","repos_url":"https://api.github.com/users/hoodiehq/repos","events_url":"https://api.github.com/users/hoodiehq/events{/privacy}","received_events_url":"https://api.github.com/users/hoodiehq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hoodiehq/hoodie-client","description":"Hoodie Core Client","fork":false,"url":"https://api.github.com/repos/hoodiehq/hoodie-client","forks_url":"https://api.github.com/repos/hoodiehq/hoodie-client/forks","keys_url":"https://api.github.com/repos/hoodiehq/hoodie-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hoodiehq/hoodie-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hoodiehq/hoodie-client/teams","hooks_url":"https://api.github.com/repos/hoodiehq/hoodie-client/hooks","issue_events_url":"https://api.github.com/repos/hoodiehq/hoodie-client/issues/events{/number}","events_url":"https://api.github.com/repos/hoodiehq/hoodie-client/events","assignees_url":"https://api.github.com/repos/hoodiehq/hoodie-client/assignees{/user}","branches_url":"https://api.github.com/repos/hoodiehq/hoodie-client/branches{/branch}","tags_url":"https://api.github.com/repos/hoodiehq/hoodie-client/tags","blobs_url":"https://api.github.com/repos/hoodiehq/hoodie-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hoodiehq/hoodie-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hoodiehq/hoodie-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/hoodiehq/hoodie-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hoodiehq/hoodie-client/statuses/{sha}","languages_url":"https://api.github.com/repos/hoodiehq/hoodie-client/languages","stargazers_url":"https://api.github.com/repos/hoodiehq/hoodie-client/stargazers","contributors_url":"https://api.github.com/repos/hoodiehq/hoodie-client/contributors","subscribers_url":"https://api.github.com/repos/hoodiehq/hoodie-client/subscribers","subscription_url":"https://api.github.com/repos/hoodiehq/hoodie-client/subscription","commits_url":"https://api.github.com/repos/hoodiehq/hoodie-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/hoodiehq/hoodie-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/hoodiehq/hoodie-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/hoodiehq/hoodie-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/hoodiehq/hoodie-client/contents/{+path}","compare_url":"https://api.github.com/repos/hoodiehq/hoodie-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hoodiehq/hoodie-client/merges","archive_url":"https://api.github.com/repos/hoodiehq/hoodie-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hoodiehq/hoodie-client/downloads","issues_url":"https://api.github.com/repos/hoodiehq/hoodie-client/issues{/number}","pulls_url":"https://api.github.com/repos/hoodiehq/hoodie-client/pulls{/number}","milestones_url":"https://api.github.com/repos/hoodiehq/hoodie-client/milestones{/number}","notifications_url":"https://api.github.com/repos/hoodiehq/hoodie-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hoodiehq/hoodie-client/labels{/name}","releases_url":"https://api.github.com/repos/hoodiehq/hoodie-client/releases{/id}","created_at":"2015-09-18T09:46:35Z","updated_at":"2015-10-16T12:39:28Z","pushed_at":"2015-11-18T16:45:36Z","git_url":"git://github.com/hoodiehq/hoodie-client.git","ssh_url":"git@github.com:hoodiehq/hoodie-client.git","clone_url":"https://github.com/hoodiehq/hoodie-client.git","svn_url":"https://github.com/hoodiehq/hoodie-client","homepage":null,"size":7,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hoodiehq/hoodie-client/pulls/8"},"html":{"href":"https://github.com/hoodiehq/hoodie-client/pull/8"},"issue":{"href":"https://api.github.com/repos/hoodiehq/hoodie-client/issues/8"},"comments":{"href":"https://api.github.com/repos/hoodiehq/hoodie-client/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/hoodiehq/hoodie-client/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/hoodiehq/hoodie-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hoodiehq/hoodie-client/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/hoodiehq/hoodie-client/statuses/31eedeb9202fbb7b4f2fa96088eabf851060fa14"}}}}