{"action":"created","comment":{"url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/pulls/comments/63333103","id":63333103,"diff_hunk":"@@ -20,12 +20,12 @@\n   },","path":"package.json","position":1,"original_position":1,"commit_id":"d605330cf65fa4bf0e4775dad15da81e174b8382","original_commit_id":"d605330cf65fa4bf0e4775dad15da81e174b8382","user":{"login":"gtrufitt","id":638051,"avatar_url":"https://avatars.githubusercontent.com/u/638051?v=3","gravatar_id":"","url":"https://api.github.com/users/gtrufitt","html_url":"https://github.com/gtrufitt","followers_url":"https://api.github.com/users/gtrufitt/followers","following_url":"https://api.github.com/users/gtrufitt/following{/other_user}","gists_url":"https://api.github.com/users/gtrufitt/gists{/gist_id}","starred_url":"https://api.github.com/users/gtrufitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtrufitt/subscriptions","organizations_url":"https://api.github.com/users/gtrufitt/orgs","repos_url":"https://api.github.com/users/gtrufitt/repos","events_url":"https://api.github.com/users/gtrufitt/events{/privacy}","received_events_url":"https://api.github.com/users/gtrufitt/received_events","type":"User","site_admin":false},"body":"I would think about using [npm shrinkwrap](https://docs.npmjs.com/cli/shrinkwrap) as it can save you pains in the future with different package versions being installed on other devs or build systems.","created_at":"2016-05-16T10:07:46Z","updated_at":"2016-05-16T10:07:46Z","html_url":"https://github.com/guardian/mobile-apps-article-templates/pull/478#discussion_r63333103","pull_request_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/pulls/478","_links":{"self":{"href":"https://api.github.com/repos/guardian/mobile-apps-article-templates/pulls/comments/63333103"},"html":{"href":"https://github.com/guardian/mobile-apps-article-templates/pull/478#discussion_r63333103"},"pull_request":{"href":"https://api.github.com/repos/guardian/mobile-apps-article-templates/pulls/478"}}},"pull_request":{"url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/pulls/478","id":69680576,"html_url":"https://github.com/guardian/mobile-apps-article-templates/pull/478","diff_url":"https://github.com/guardian/mobile-apps-article-templates/pull/478.diff","patch_url":"https://github.com/guardian/mobile-apps-article-templates/pull/478.patch","issue_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/issues/478","number":478,"state":"open","locked":false,"title":"DES-52 Add new unit test runner with code coverage reports","user":{"login":"GHaberis","id":1590704,"avatar_url":"https://avatars.githubusercontent.com/u/1590704?v=3","gravatar_id":"","url":"https://api.github.com/users/GHaberis","html_url":"https://github.com/GHaberis","followers_url":"https://api.github.com/users/GHaberis/followers","following_url":"https://api.github.com/users/GHaberis/following{/other_user}","gists_url":"https://api.github.com/users/GHaberis/gists{/gist_id}","starred_url":"https://api.github.com/users/GHaberis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GHaberis/subscriptions","organizations_url":"https://api.github.com/users/GHaberis/orgs","repos_url":"https://api.github.com/users/GHaberis/repos","events_url":"https://api.github.com/users/GHaberis/events{/privacy}","received_events_url":"https://api.github.com/users/GHaberis/received_events","type":"User","site_admin":false},"body":"**Gruntfile.js**\r\n- Add karma runner w/ mocha framework, chai assertions and sinon for mocks/stubs\r\n- Add jshint config\r\n- Add lodash for utlity functions\r\n\r\n**ArticleTemplates/assets/js/bootstraps/article.js**\r\n- expose module's private methods so testable\r\n- remove anonymous functions\r\n- replace window.throttleDebounce with GU.util.debounce\r\n\r\n**ArticleTemplates/assets/js/bootstraps/common.js**\r\n- expose module's private methods so testable\r\n- remove anonymous functions\r\n- remove global method declarations (eg. window.loadEmbeds)\r\n- replace window.throttleDebounce with GU.util.debounce\r\n\r\n**ArticleTemplates/assets/js/*.js**\r\n- expose module's private methods so testable\r\n- replace window.throttleDebounce with GU.util.debounce\r\n\r\n**test/spec/unit/*.js**\r\n- Add example unit tests for ArticleTemplates/assets/js/app.js and ArticleTemplates/assets/js/bootstraps/article.js","created_at":"2016-05-11T14:21:08Z","updated_at":"2016-05-16T10:07:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2bc34eb128dc7d99a6e9440f81fef2cd02707243","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/pulls/478/commits","review_comments_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/pulls/478/comments","review_comment_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/issues/478/comments","statuses_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/statuses/d605330cf65fa4bf0e4775dad15da81e174b8382","head":{"label":"guardian:DES-52","ref":"DES-52","sha":"d605330cf65fa4bf0e4775dad15da81e174b8382","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":16987877,"name":"mobile-apps-article-templates","full_name":"guardian/mobile-apps-article-templates","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/mobile-apps-article-templates","description":"Templates for articles on both iOS and Android next-gen apps","fork":false,"url":"https://api.github.com/repos/guardian/mobile-apps-article-templates","forks_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/forks","keys_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/teams","hooks_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/hooks","issue_events_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/events","assignees_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/tags","blobs_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/languages","stargazers_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/stargazers","contributors_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/contributors","subscribers_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/subscribers","subscription_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/subscription","commits_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/merges","archive_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/downloads","issues_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/labels{/name}","releases_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/releases{/id}","deployments_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/deployments","created_at":"2014-02-19T15:03:05Z","updated_at":"2016-05-11T19:01:27Z","pushed_at":"2016-05-13T10:34:47Z","git_url":"git://github.com/guardian/mobile-apps-article-templates.git","ssh_url":"git@github.com:guardian/mobile-apps-article-templates.git","clone_url":"https://github.com/guardian/mobile-apps-article-templates.git","svn_url":"https://github.com/guardian/mobile-apps-article-templates","homepage":null,"size":41008,"stargazers_count":18,"watchers_count":18,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":18,"default_branch":"master"}},"base":{"label":"guardian:master","ref":"master","sha":"b47e64ddcb1f4e6077f78bdf1da12efe3fd43382","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":16987877,"name":"mobile-apps-article-templates","full_name":"guardian/mobile-apps-article-templates","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/mobile-apps-article-templates","description":"Templates for articles on both iOS and Android next-gen apps","fork":false,"url":"https://api.github.com/repos/guardian/mobile-apps-article-templates","forks_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/forks","keys_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/teams","hooks_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/hooks","issue_events_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/events","assignees_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/tags","blobs_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/languages","stargazers_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/stargazers","contributors_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/contributors","subscribers_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/subscribers","subscription_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/subscription","commits_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/merges","archive_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/downloads","issues_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/labels{/name}","releases_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/releases{/id}","deployments_url":"https://api.github.com/repos/guardian/mobile-apps-article-templates/deployments","created_at":"2014-02-19T15:03:05Z","updated_at":"2016-05-11T19:01:27Z","pushed_at":"2016-05-13T10:34:47Z","git_url":"git://github.com/guardian/mobile-apps-article-templates.git","ssh_url":"git@github.com:guardian/mobile-apps-article-templates.git","clone_url":"https://github.com/guardian/mobile-apps-article-templates.git","svn_url":"https://github.com/guardian/mobile-apps-article-templates","homepage":null,"size":41008,"stargazers_count":18,"watchers_count":18,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guardian/mobile-apps-article-templates/pulls/478"},"html":{"href":"https://github.com/guardian/mobile-apps-article-templates/pull/478"},"issue":{"href":"https://api.github.com/repos/guardian/mobile-apps-article-templates/issues/478"},"comments":{"href":"https://api.github.com/repos/guardian/mobile-apps-article-templates/issues/478/comments"},"review_comments":{"href":"https://api.github.com/repos/guardian/mobile-apps-article-templates/pulls/478/comments"},"review_comment":{"href":"https://api.github.com/repos/guardian/mobile-apps-article-templates/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guardian/mobile-apps-article-templates/pulls/478/commits"},"statuses":{"href":"https://api.github.com/repos/guardian/mobile-apps-article-templates/statuses/d605330cf65fa4bf0e4775dad15da81e174b8382"}}}}