{"action":"closed","number":3174,"pull_request":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/pulls/3174","id":84929388,"html_url":"https://github.com/mapbox/mapbox-gl-js/pull/3174","diff_url":"https://github.com/mapbox/mapbox-gl-js/pull/3174.diff","patch_url":"https://github.com/mapbox/mapbox-gl-js/pull/3174.patch","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3174","number":3174,"state":"closed","locked":false,"title":"Use package-json-versionify to trim package.json in min bundle","user":{"login":"etpinard","id":6675409,"avatar_url":"https://avatars.githubusercontent.com/u/6675409?v=3","gravatar_id":"","url":"https://api.github.com/users/etpinard","html_url":"https://github.com/etpinard","followers_url":"https://api.github.com/users/etpinard/followers","following_url":"https://api.github.com/users/etpinard/following{/other_user}","gists_url":"https://api.github.com/users/etpinard/gists{/gist_id}","starred_url":"https://api.github.com/users/etpinard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etpinard/subscriptions","organizations_url":"https://api.github.com/users/etpinard/orgs","repos_url":"https://api.github.com/users/etpinard/repos","events_url":"https://api.github.com/users/etpinard/events{/privacy}","received_events_url":"https://api.github.com/users/etpinard/received_events","type":"User","site_admin":false},"body":"This PR adds the [`package-json.versionify`](https://github.com/nolanlawson/package-json-versionify) transform to the `npm run build-min` tasks and add one `test/build/min.test.js` test case.\r\n\r\nThis change reduces the size of the resulting `dist/mapbox-gl.js` bundle by `5K` (and even more on `npm` consumer builds where the README.md data is pasted into the package.json).\r\n","created_at":"2016-09-12T19:26:39Z","updated_at":"2016-09-12T20:10:39Z","closed_at":"2016-09-12T20:10:39Z","merged_at":"2016-09-12T20:10:39Z","merge_commit_sha":"ee08e922501894cd048c974a69572238f8c220b7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/pulls/3174/commits","review_comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/pulls/3174/comments","review_comment_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3174/comments","statuses_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/statuses/61e1dd622a6233f8794f5f2da86246e32add4967","head":{"label":"etpinard:package-json-versionify","ref":"package-json-versionify","sha":"61e1dd622a6233f8794f5f2da86246e32add4967","user":{"login":"etpinard","id":6675409,"avatar_url":"https://avatars.githubusercontent.com/u/6675409?v=3","gravatar_id":"","url":"https://api.github.com/users/etpinard","html_url":"https://github.com/etpinard","followers_url":"https://api.github.com/users/etpinard/followers","following_url":"https://api.github.com/users/etpinard/following{/other_user}","gists_url":"https://api.github.com/users/etpinard/gists{/gist_id}","starred_url":"https://api.github.com/users/etpinard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etpinard/subscriptions","organizations_url":"https://api.github.com/users/etpinard/orgs","repos_url":"https://api.github.com/users/etpinard/repos","events_url":"https://api.github.com/users/etpinard/events{/privacy}","received_events_url":"https://api.github.com/users/etpinard/received_events","type":"User","site_admin":false},"repo":{"id":60041274,"name":"mapbox-gl-js","full_name":"etpinard/mapbox-gl-js","owner":{"login":"etpinard","id":6675409,"avatar_url":"https://avatars.githubusercontent.com/u/6675409?v=3","gravatar_id":"","url":"https://api.github.com/users/etpinard","html_url":"https://github.com/etpinard","followers_url":"https://api.github.com/users/etpinard/followers","following_url":"https://api.github.com/users/etpinard/following{/other_user}","gists_url":"https://api.github.com/users/etpinard/gists{/gist_id}","starred_url":"https://api.github.com/users/etpinard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etpinard/subscriptions","organizations_url":"https://api.github.com/users/etpinard/orgs","repos_url":"https://api.github.com/users/etpinard/repos","events_url":"https://api.github.com/users/etpinard/events{/privacy}","received_events_url":"https://api.github.com/users/etpinard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/etpinard/mapbox-gl-js","description":"Render Mapbox styles in the browser using JavaScript and WebGL","fork":true,"url":"https://api.github.com/repos/etpinard/mapbox-gl-js","forks_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/forks","keys_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/teams","hooks_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/hooks","issue_events_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/issues/events{/number}","events_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/events","assignees_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/assignees{/user}","branches_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/branches{/branch}","tags_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/tags","blobs_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/statuses/{sha}","languages_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/languages","stargazers_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/stargazers","contributors_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/contributors","subscribers_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/subscribers","subscription_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/subscription","commits_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/contents/{+path}","compare_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/merges","archive_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/downloads","issues_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/issues{/number}","pulls_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/pulls{/number}","milestones_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/milestones{/number}","notifications_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/labels{/name}","releases_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/releases{/id}","deployments_url":"https://api.github.com/repos/etpinard/mapbox-gl-js/deployments","created_at":"2016-05-30T21:59:38Z","updated_at":"2016-05-30T21:59:39Z","pushed_at":"2016-09-12T19:19:34Z","git_url":"git://github.com/etpinard/mapbox-gl-js.git","ssh_url":"git@github.com:etpinard/mapbox-gl-js.git","clone_url":"https://github.com/etpinard/mapbox-gl-js.git","svn_url":"https://github.com/etpinard/mapbox-gl-js","homepage":"https://www.mapbox.com/mapbox-gl-js/","size":25521,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"mapbox:master","ref":"master","sha":"22faf13a7c4f736bdf74873e5a91d8c357fead17","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":8629417,"name":"mapbox-gl-js","full_name":"mapbox/mapbox-gl-js","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/mapbox-gl-js","description":"Interactive vector maps in the browser, powered by WebGL","fork":false,"url":"https://api.github.com/repos/mapbox/mapbox-gl-js","forks_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/forks","keys_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/teams","hooks_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/hooks","issue_events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/events","assignees_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/tags","blobs_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/languages","stargazers_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/stargazers","contributors_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/contributors","subscribers_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/subscribers","subscription_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/subscription","commits_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/merges","archive_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/downloads","issues_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/deployments","created_at":"2013-03-07T14:45:24Z","updated_at":"2016-09-12T19:50:55Z","pushed_at":"2016-09-12T20:10:39Z","git_url":"git://github.com/mapbox/mapbox-gl-js.git","ssh_url":"git@github.com:mapbox/mapbox-gl-js.git","clone_url":"https://github.com/mapbox/mapbox-gl-js.git","svn_url":"https://github.com/mapbox/mapbox-gl-js","homepage":"https://www.mapbox.com/mapbox-gl-js/","size":31000,"stargazers_count":1201,"watchers_count":1201,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":243,"mirror_url":null,"open_issues_count":292,"forks":243,"open_issues":292,"watchers":1201,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-js/pulls/3174"},"html":{"href":"https://github.com/mapbox/mapbox-gl-js/pull/3174"},"issue":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3174"},"comments":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3174/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-js/pulls/3174/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-js/pulls/3174/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-js/statuses/61e1dd622a6233f8794f5f2da86246e32add4967"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"lucaswoj","id":281306,"avatar_url":"https://avatars.githubusercontent.com/u/281306?v=3","gravatar_id":"","url":"https://api.github.com/users/lucaswoj","html_url":"https://github.com/lucaswoj","followers_url":"https://api.github.com/users/lucaswoj/followers","following_url":"https://api.github.com/users/lucaswoj/following{/other_user}","gists_url":"https://api.github.com/users/lucaswoj/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaswoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaswoj/subscriptions","organizations_url":"https://api.github.com/users/lucaswoj/orgs","repos_url":"https://api.github.com/users/lucaswoj/repos","events_url":"https://api.github.com/users/lucaswoj/events{/privacy}","received_events_url":"https://api.github.com/users/lucaswoj/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":11,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"lucaswoj"}}