{"action":"created","comment":{"url":"https://api.github.com/repos/andela/baby-face-cfh/pulls/comments/157916566","pull_request_review_id":84639581,"id":157916566,"diff_hunk":"@@ -0,0 +1,111 @@\n+const  gulp = require('gulp'),\n+  sourcemaps = require('gulp-sourcemaps'),\n+  eslint = require('gulp-eslint'),\n+  sass = require('gulp-sass'),\n+  mocha = require('gulp-mocha'),\n+  nodemon = require('gulp-nodemon'),\n+  bower = require('gulp-bower'),\n+  browserSync = require('browser-sync').create(),\n+  reload = browserSync.reload;\n+\n+  paths = {\n+    css: ['public/css/**'],\n+    html: ['public/views/**'],\n+    jade: ['app/views/**'],\n+    lint: [\n+      'gulpfile.js', 'public/js/**/*.js', 'test/**/*.js', 'app/**/*.js',\n+      '!node_modules/**'\n+    ],\n+    sass: ['public/css/common.scss, public/css/views/articles.scss'],\n+    scripts: ['public/js/**', 'app/**/*.js'],\n+    test: ['test/**/*.js'],\n+  };\n+\n+gulp.task('lint', () => {\n+  return gulp.src(paths.lint)\n+    .pipe(eslint())\n+    .pipe(eslint.formatEach());\n+});\n+\n+gulp.task('sass', () => {\n+  return gulp.src(paths.sass)\n+    .pipe(sourcemaps.init())\n+      .pipe(sass().on('error', sass.logError))\n+    .pipe(sourcemaps.write())\n+    .pipe(gulp.dest('public/css'))\n+    .pipe(reload({stream: true}));\n+});\n+\n+gulp.task('nodemon', () => {\n+  nodemon({\n+    script: 'server.js',\n+    ignore: ['README.md', 'node_modules/**', '.DS_Store'],\n+    ext: 'js',\n+    env: {\n+      'PORT': 3000,\n+    },\n+    watch: ['app', 'config'],\n+  })\n+})\n+\n+gulp.task('mochaTest', () => {","path":"gulpfile.js","position":51,"original_position":51,"commit_id":"9cacaae011b7202b8b20971478bf8bbdc58ac0c5","original_commit_id":"9cacaae011b7202b8b20971478bf8bbdc58ac0c5","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').","created_at":"2017-12-20T01:08:59Z","updated_at":"2017-12-20T01:09:00Z","html_url":"https://github.com/andela/baby-face-cfh/pull/10#discussion_r157916566","pull_request_url":"https://api.github.com/repos/andela/baby-face-cfh/pulls/10","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/andela/baby-face-cfh/pulls/comments/157916566"},"html":{"href":"https://github.com/andela/baby-face-cfh/pull/10#discussion_r157916566"},"pull_request":{"href":"https://api.github.com/repos/andela/baby-face-cfh/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/andela/baby-face-cfh/pulls/10","id":159309243,"html_url":"https://github.com/andela/baby-face-cfh/pull/10","diff_url":"https://github.com/andela/baby-face-cfh/pull/10.diff","patch_url":"https://github.com/andela/baby-face-cfh/pull/10.patch","issue_url":"https://api.github.com/repos/andela/baby-face-cfh/issues/10","number":10,"state":"open","locked":false,"title":"#153742459 convert grunt to gulp task runner","user":{"login":"Dheavyman","id":28486643,"avatar_url":"https://avatars3.githubusercontent.com/u/28486643?v=4","gravatar_id":"","url":"https://api.github.com/users/Dheavyman","html_url":"https://github.com/Dheavyman","followers_url":"https://api.github.com/users/Dheavyman/followers","following_url":"https://api.github.com/users/Dheavyman/following{/other_user}","gists_url":"https://api.github.com/users/Dheavyman/gists{/gist_id}","starred_url":"https://api.github.com/users/Dheavyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dheavyman/subscriptions","organizations_url":"https://api.github.com/users/Dheavyman/orgs","repos_url":"https://api.github.com/users/Dheavyman/repos","events_url":"https://api.github.com/users/Dheavyman/events{/privacy}","received_events_url":"https://api.github.com/users/Dheavyman/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nHave gulp task runner on the application\r\n#### Description of Task to be completed?\r\nConvert grunt, which is an older task runner, to gulp\r\n#### How should this be manually tested?\r\n- Clone the repo and change directory into it\r\n- Install the dependencies with the command `npm install`\r\n- Run the application with the command `npm start`\r\n#### Any background context you want to provide?\r\n-The application uses mongodb and requires you have it install on your machine\r\n- You are required to create a .env file and supply the required values for `MONGOHQ_URL` which should be `localhost`\r\n#### What are the relevant pivotal tracker stories?\r\n#153742459\r\n#### Screenshots (if appropriate)\r\nN/A\r\n#### Questions:\r\nN/A","created_at":"2017-12-20T01:08:51Z","updated_at":"2017-12-20T01:09:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a74bc4ff797fcf917f425510475860a4fcb3266","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/baby-face-cfh/pulls/10/commits","review_comments_url":"https://api.github.com/repos/andela/baby-face-cfh/pulls/10/comments","review_comment_url":"https://api.github.com/repos/andela/baby-face-cfh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/baby-face-cfh/issues/10/comments","statuses_url":"https://api.github.com/repos/andela/baby-face-cfh/statuses/9cacaae011b7202b8b20971478bf8bbdc58ac0c5","head":{"label":"andela:chore/153742459/grunt-to-gulp","ref":"chore/153742459/grunt-to-gulp","sha":"9cacaae011b7202b8b20971478bf8bbdc58ac0c5","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":114618494,"name":"baby-face-cfh","full_name":"andela/baby-face-cfh","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/baby-face-cfh","description":null,"fork":false,"url":"https://api.github.com/repos/andela/baby-face-cfh","forks_url":"https://api.github.com/repos/andela/baby-face-cfh/forks","keys_url":"https://api.github.com/repos/andela/baby-face-cfh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/baby-face-cfh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/baby-face-cfh/teams","hooks_url":"https://api.github.com/repos/andela/baby-face-cfh/hooks","issue_events_url":"https://api.github.com/repos/andela/baby-face-cfh/issues/events{/number}","events_url":"https://api.github.com/repos/andela/baby-face-cfh/events","assignees_url":"https://api.github.com/repos/andela/baby-face-cfh/assignees{/user}","branches_url":"https://api.github.com/repos/andela/baby-face-cfh/branches{/branch}","tags_url":"https://api.github.com/repos/andela/baby-face-cfh/tags","blobs_url":"https://api.github.com/repos/andela/baby-face-cfh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/baby-face-cfh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/baby-face-cfh/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/baby-face-cfh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/baby-face-cfh/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/baby-face-cfh/languages","stargazers_url":"https://api.github.com/repos/andela/baby-face-cfh/stargazers","contributors_url":"https://api.github.com/repos/andela/baby-face-cfh/contributors","subscribers_url":"https://api.github.com/repos/andela/baby-face-cfh/subscribers","subscription_url":"https://api.github.com/repos/andela/baby-face-cfh/subscription","commits_url":"https://api.github.com/repos/andela/baby-face-cfh/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/baby-face-cfh/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/baby-face-cfh/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/baby-face-cfh/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/baby-face-cfh/contents/{+path}","compare_url":"https://api.github.com/repos/andela/baby-face-cfh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/baby-face-cfh/merges","archive_url":"https://api.github.com/repos/andela/baby-face-cfh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/baby-face-cfh/downloads","issues_url":"https://api.github.com/repos/andela/baby-face-cfh/issues{/number}","pulls_url":"https://api.github.com/repos/andela/baby-face-cfh/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/baby-face-cfh/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/baby-face-cfh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/baby-face-cfh/labels{/name}","releases_url":"https://api.github.com/repos/andela/baby-face-cfh/releases{/id}","deployments_url":"https://api.github.com/repos/andela/baby-face-cfh/deployments","created_at":"2017-12-18T08:58:42Z","updated_at":"2017-12-18T12:30:13Z","pushed_at":"2017-12-20T01:08:51Z","git_url":"git://github.com/andela/baby-face-cfh.git","ssh_url":"git@github.com:andela/baby-face-cfh.git","clone_url":"https://github.com/andela/baby-face-cfh.git","svn_url":"https://github.com/andela/baby-face-cfh","homepage":null,"size":9594,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"andela:staging","ref":"staging","sha":"85a53a82d1cf870a7faaedd00b24d5ec287cf2cc","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":114618494,"name":"baby-face-cfh","full_name":"andela/baby-face-cfh","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/baby-face-cfh","description":null,"fork":false,"url":"https://api.github.com/repos/andela/baby-face-cfh","forks_url":"https://api.github.com/repos/andela/baby-face-cfh/forks","keys_url":"https://api.github.com/repos/andela/baby-face-cfh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/baby-face-cfh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/baby-face-cfh/teams","hooks_url":"https://api.github.com/repos/andela/baby-face-cfh/hooks","issue_events_url":"https://api.github.com/repos/andela/baby-face-cfh/issues/events{/number}","events_url":"https://api.github.com/repos/andela/baby-face-cfh/events","assignees_url":"https://api.github.com/repos/andela/baby-face-cfh/assignees{/user}","branches_url":"https://api.github.com/repos/andela/baby-face-cfh/branches{/branch}","tags_url":"https://api.github.com/repos/andela/baby-face-cfh/tags","blobs_url":"https://api.github.com/repos/andela/baby-face-cfh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/baby-face-cfh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/baby-face-cfh/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/baby-face-cfh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/baby-face-cfh/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/baby-face-cfh/languages","stargazers_url":"https://api.github.com/repos/andela/baby-face-cfh/stargazers","contributors_url":"https://api.github.com/repos/andela/baby-face-cfh/contributors","subscribers_url":"https://api.github.com/repos/andela/baby-face-cfh/subscribers","subscription_url":"https://api.github.com/repos/andela/baby-face-cfh/subscription","commits_url":"https://api.github.com/repos/andela/baby-face-cfh/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/baby-face-cfh/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/baby-face-cfh/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/baby-face-cfh/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/baby-face-cfh/contents/{+path}","compare_url":"https://api.github.com/repos/andela/baby-face-cfh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/baby-face-cfh/merges","archive_url":"https://api.github.com/repos/andela/baby-face-cfh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/baby-face-cfh/downloads","issues_url":"https://api.github.com/repos/andela/baby-face-cfh/issues{/number}","pulls_url":"https://api.github.com/repos/andela/baby-face-cfh/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/baby-face-cfh/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/baby-face-cfh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/baby-face-cfh/labels{/name}","releases_url":"https://api.github.com/repos/andela/baby-face-cfh/releases{/id}","deployments_url":"https://api.github.com/repos/andela/baby-face-cfh/deployments","created_at":"2017-12-18T08:58:42Z","updated_at":"2017-12-18T12:30:13Z","pushed_at":"2017-12-20T01:08:51Z","git_url":"git://github.com/andela/baby-face-cfh.git","ssh_url":"git@github.com:andela/baby-face-cfh.git","clone_url":"https://github.com/andela/baby-face-cfh.git","svn_url":"https://github.com/andela/baby-face-cfh","homepage":null,"size":9594,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/baby-face-cfh/pulls/10"},"html":{"href":"https://github.com/andela/baby-face-cfh/pull/10"},"issue":{"href":"https://api.github.com/repos/andela/baby-face-cfh/issues/10"},"comments":{"href":"https://api.github.com/repos/andela/baby-face-cfh/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/baby-face-cfh/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/baby-face-cfh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/baby-face-cfh/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/andela/baby-face-cfh/statuses/9cacaae011b7202b8b20971478bf8bbdc58ac0c5"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}