{"action":"closed","number":37,"pull_request":{"url":"https://api.github.com/repos/gcstaublin/pregame/pulls/37","id":50122901,"html_url":"https://github.com/gcstaublin/pregame/pull/37","diff_url":"https://github.com/gcstaublin/pregame/pull/37.diff","patch_url":"https://github.com/gcstaublin/pregame/pull/37.patch","issue_url":"https://api.github.com/repos/gcstaublin/pregame/issues/37","number":37,"state":"closed","locked":false,"title":"Adding PostCSS","user":{"login":"gcstaublin","id":959486,"avatar_url":"https://avatars.githubusercontent.com/u/959486?v=3","gravatar_id":"","url":"https://api.github.com/users/gcstaublin","html_url":"https://github.com/gcstaublin","followers_url":"https://api.github.com/users/gcstaublin/followers","following_url":"https://api.github.com/users/gcstaublin/following{/other_user}","gists_url":"https://api.github.com/users/gcstaublin/gists{/gist_id}","starred_url":"https://api.github.com/users/gcstaublin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcstaublin/subscriptions","organizations_url":"https://api.github.com/users/gcstaublin/orgs","repos_url":"https://api.github.com/users/gcstaublin/repos","events_url":"https://api.github.com/users/gcstaublin/events{/privacy}","received_events_url":"https://api.github.com/users/gcstaublin/received_events","type":"User","site_admin":false},"body":"## What this did \r\n\r\nThis adds PostCSS to the gulpfile\r\n\r\nDon't worry, I haven't gone to the dark side. This still uses SCSS, but should set the table to more easily add other postcss plugins as needed.\r\n\r\nCurrently, we're using `autoprefixer` for prefixing and `nano` for minification.\r\n\r\n```\r\n// Sass\r\n// -------------------------------------\r\ngulp.task('sass', function(){\r\n  var processors = [\r\n    autoprefixer( {browsers: ['last 2 versions']} ),\r\n    cssnano\r\n  ];\r\n\r\n return gulp.src(['static/scss/**/*.scss'])\r\n .pipe(sourcemaps.init())\r\n .pipe( sass().on('error', sass.logError) )\r\n .pipe(sourcemaps.init())\r\n .pipe(postcss(processors))\r\n .pipe(sourcemaps.write('./'))\r\n .pipe(gulp.dest('static/css'))\r\n .pipe(browserSync.stream());\r\n});\r\n```\r\n\r\n","created_at":"2015-11-09T13:38:36Z","updated_at":"2015-11-09T15:04:44Z","closed_at":"2015-11-09T15:04:44Z","merged_at":"2015-11-09T15:04:44Z","merge_commit_sha":"d53d142b16ab2b5d6f964b9111295627263d386a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gcstaublin/pregame/pulls/37/commits","review_comments_url":"https://api.github.com/repos/gcstaublin/pregame/pulls/37/comments","review_comment_url":"https://api.github.com/repos/gcstaublin/pregame/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gcstaublin/pregame/issues/37/comments","statuses_url":"https://api.github.com/repos/gcstaublin/pregame/statuses/c381eb3743627e3717ed959230102dd3d856cce8","head":{"label":"gcstaublin:newPostCSS","ref":"newPostCSS","sha":"c381eb3743627e3717ed959230102dd3d856cce8","user":{"login":"gcstaublin","id":959486,"avatar_url":"https://avatars.githubusercontent.com/u/959486?v=3","gravatar_id":"","url":"https://api.github.com/users/gcstaublin","html_url":"https://github.com/gcstaublin","followers_url":"https://api.github.com/users/gcstaublin/followers","following_url":"https://api.github.com/users/gcstaublin/following{/other_user}","gists_url":"https://api.github.com/users/gcstaublin/gists{/gist_id}","starred_url":"https://api.github.com/users/gcstaublin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcstaublin/subscriptions","organizations_url":"https://api.github.com/users/gcstaublin/orgs","repos_url":"https://api.github.com/users/gcstaublin/repos","events_url":"https://api.github.com/users/gcstaublin/events{/privacy}","received_events_url":"https://api.github.com/users/gcstaublin/received_events","type":"User","site_admin":false},"repo":{"id":43843243,"name":"pregame","full_name":"gcstaublin/pregame","owner":{"login":"gcstaublin","id":959486,"avatar_url":"https://avatars.githubusercontent.com/u/959486?v=3","gravatar_id":"","url":"https://api.github.com/users/gcstaublin","html_url":"https://github.com/gcstaublin","followers_url":"https://api.github.com/users/gcstaublin/followers","following_url":"https://api.github.com/users/gcstaublin/following{/other_user}","gists_url":"https://api.github.com/users/gcstaublin/gists{/gist_id}","starred_url":"https://api.github.com/users/gcstaublin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcstaublin/subscriptions","organizations_url":"https://api.github.com/users/gcstaublin/orgs","repos_url":"https://api.github.com/users/gcstaublin/repos","events_url":"https://api.github.com/users/gcstaublin/events{/privacy}","received_events_url":"https://api.github.com/users/gcstaublin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gcstaublin/pregame","description":"","fork":false,"url":"https://api.github.com/repos/gcstaublin/pregame","forks_url":"https://api.github.com/repos/gcstaublin/pregame/forks","keys_url":"https://api.github.com/repos/gcstaublin/pregame/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gcstaublin/pregame/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gcstaublin/pregame/teams","hooks_url":"https://api.github.com/repos/gcstaublin/pregame/hooks","issue_events_url":"https://api.github.com/repos/gcstaublin/pregame/issues/events{/number}","events_url":"https://api.github.com/repos/gcstaublin/pregame/events","assignees_url":"https://api.github.com/repos/gcstaublin/pregame/assignees{/user}","branches_url":"https://api.github.com/repos/gcstaublin/pregame/branches{/branch}","tags_url":"https://api.github.com/repos/gcstaublin/pregame/tags","blobs_url":"https://api.github.com/repos/gcstaublin/pregame/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gcstaublin/pregame/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gcstaublin/pregame/git/refs{/sha}","trees_url":"https://api.github.com/repos/gcstaublin/pregame/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gcstaublin/pregame/statuses/{sha}","languages_url":"https://api.github.com/repos/gcstaublin/pregame/languages","stargazers_url":"https://api.github.com/repos/gcstaublin/pregame/stargazers","contributors_url":"https://api.github.com/repos/gcstaublin/pregame/contributors","subscribers_url":"https://api.github.com/repos/gcstaublin/pregame/subscribers","subscription_url":"https://api.github.com/repos/gcstaublin/pregame/subscription","commits_url":"https://api.github.com/repos/gcstaublin/pregame/commits{/sha}","git_commits_url":"https://api.github.com/repos/gcstaublin/pregame/git/commits{/sha}","comments_url":"https://api.github.com/repos/gcstaublin/pregame/comments{/number}","issue_comment_url":"https://api.github.com/repos/gcstaublin/pregame/issues/comments{/number}","contents_url":"https://api.github.com/repos/gcstaublin/pregame/contents/{+path}","compare_url":"https://api.github.com/repos/gcstaublin/pregame/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gcstaublin/pregame/merges","archive_url":"https://api.github.com/repos/gcstaublin/pregame/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gcstaublin/pregame/downloads","issues_url":"https://api.github.com/repos/gcstaublin/pregame/issues{/number}","pulls_url":"https://api.github.com/repos/gcstaublin/pregame/pulls{/number}","milestones_url":"https://api.github.com/repos/gcstaublin/pregame/milestones{/number}","notifications_url":"https://api.github.com/repos/gcstaublin/pregame/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gcstaublin/pregame/labels{/name}","releases_url":"https://api.github.com/repos/gcstaublin/pregame/releases{/id}","created_at":"2015-10-07T20:35:21Z","updated_at":"2015-11-04T15:58:00Z","pushed_at":"2015-11-09T15:04:44Z","git_url":"git://github.com/gcstaublin/pregame.git","ssh_url":"git@github.com:gcstaublin/pregame.git","clone_url":"https://github.com/gcstaublin/pregame.git","svn_url":"https://github.com/gcstaublin/pregame","homepage":null,"size":372,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":15,"forks":0,"open_issues":15,"watchers":0,"default_branch":"master"}},"base":{"label":"gcstaublin:master","ref":"master","sha":"c3454645cfe16771043d9aa5774f2ee0e3c24d33","user":{"login":"gcstaublin","id":959486,"avatar_url":"https://avatars.githubusercontent.com/u/959486?v=3","gravatar_id":"","url":"https://api.github.com/users/gcstaublin","html_url":"https://github.com/gcstaublin","followers_url":"https://api.github.com/users/gcstaublin/followers","following_url":"https://api.github.com/users/gcstaublin/following{/other_user}","gists_url":"https://api.github.com/users/gcstaublin/gists{/gist_id}","starred_url":"https://api.github.com/users/gcstaublin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcstaublin/subscriptions","organizations_url":"https://api.github.com/users/gcstaublin/orgs","repos_url":"https://api.github.com/users/gcstaublin/repos","events_url":"https://api.github.com/users/gcstaublin/events{/privacy}","received_events_url":"https://api.github.com/users/gcstaublin/received_events","type":"User","site_admin":false},"repo":{"id":43843243,"name":"pregame","full_name":"gcstaublin/pregame","owner":{"login":"gcstaublin","id":959486,"avatar_url":"https://avatars.githubusercontent.com/u/959486?v=3","gravatar_id":"","url":"https://api.github.com/users/gcstaublin","html_url":"https://github.com/gcstaublin","followers_url":"https://api.github.com/users/gcstaublin/followers","following_url":"https://api.github.com/users/gcstaublin/following{/other_user}","gists_url":"https://api.github.com/users/gcstaublin/gists{/gist_id}","starred_url":"https://api.github.com/users/gcstaublin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcstaublin/subscriptions","organizations_url":"https://api.github.com/users/gcstaublin/orgs","repos_url":"https://api.github.com/users/gcstaublin/repos","events_url":"https://api.github.com/users/gcstaublin/events{/privacy}","received_events_url":"https://api.github.com/users/gcstaublin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gcstaublin/pregame","description":"","fork":false,"url":"https://api.github.com/repos/gcstaublin/pregame","forks_url":"https://api.github.com/repos/gcstaublin/pregame/forks","keys_url":"https://api.github.com/repos/gcstaublin/pregame/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gcstaublin/pregame/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gcstaublin/pregame/teams","hooks_url":"https://api.github.com/repos/gcstaublin/pregame/hooks","issue_events_url":"https://api.github.com/repos/gcstaublin/pregame/issues/events{/number}","events_url":"https://api.github.com/repos/gcstaublin/pregame/events","assignees_url":"https://api.github.com/repos/gcstaublin/pregame/assignees{/user}","branches_url":"https://api.github.com/repos/gcstaublin/pregame/branches{/branch}","tags_url":"https://api.github.com/repos/gcstaublin/pregame/tags","blobs_url":"https://api.github.com/repos/gcstaublin/pregame/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gcstaublin/pregame/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gcstaublin/pregame/git/refs{/sha}","trees_url":"https://api.github.com/repos/gcstaublin/pregame/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gcstaublin/pregame/statuses/{sha}","languages_url":"https://api.github.com/repos/gcstaublin/pregame/languages","stargazers_url":"https://api.github.com/repos/gcstaublin/pregame/stargazers","contributors_url":"https://api.github.com/repos/gcstaublin/pregame/contributors","subscribers_url":"https://api.github.com/repos/gcstaublin/pregame/subscribers","subscription_url":"https://api.github.com/repos/gcstaublin/pregame/subscription","commits_url":"https://api.github.com/repos/gcstaublin/pregame/commits{/sha}","git_commits_url":"https://api.github.com/repos/gcstaublin/pregame/git/commits{/sha}","comments_url":"https://api.github.com/repos/gcstaublin/pregame/comments{/number}","issue_comment_url":"https://api.github.com/repos/gcstaublin/pregame/issues/comments{/number}","contents_url":"https://api.github.com/repos/gcstaublin/pregame/contents/{+path}","compare_url":"https://api.github.com/repos/gcstaublin/pregame/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gcstaublin/pregame/merges","archive_url":"https://api.github.com/repos/gcstaublin/pregame/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gcstaublin/pregame/downloads","issues_url":"https://api.github.com/repos/gcstaublin/pregame/issues{/number}","pulls_url":"https://api.github.com/repos/gcstaublin/pregame/pulls{/number}","milestones_url":"https://api.github.com/repos/gcstaublin/pregame/milestones{/number}","notifications_url":"https://api.github.com/repos/gcstaublin/pregame/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gcstaublin/pregame/labels{/name}","releases_url":"https://api.github.com/repos/gcstaublin/pregame/releases{/id}","created_at":"2015-10-07T20:35:21Z","updated_at":"2015-11-04T15:58:00Z","pushed_at":"2015-11-09T15:04:44Z","git_url":"git://github.com/gcstaublin/pregame.git","ssh_url":"git@github.com:gcstaublin/pregame.git","clone_url":"https://github.com/gcstaublin/pregame.git","svn_url":"https://github.com/gcstaublin/pregame","homepage":null,"size":372,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":15,"forks":0,"open_issues":15,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gcstaublin/pregame/pulls/37"},"html":{"href":"https://github.com/gcstaublin/pregame/pull/37"},"issue":{"href":"https://api.github.com/repos/gcstaublin/pregame/issues/37"},"comments":{"href":"https://api.github.com/repos/gcstaublin/pregame/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/gcstaublin/pregame/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/gcstaublin/pregame/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gcstaublin/pregame/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/gcstaublin/pregame/statuses/c381eb3743627e3717ed959230102dd3d856cce8"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"gcstaublin","id":959486,"avatar_url":"https://avatars.githubusercontent.com/u/959486?v=3","gravatar_id":"","url":"https://api.github.com/users/gcstaublin","html_url":"https://github.com/gcstaublin","followers_url":"https://api.github.com/users/gcstaublin/followers","following_url":"https://api.github.com/users/gcstaublin/following{/other_user}","gists_url":"https://api.github.com/users/gcstaublin/gists{/gist_id}","starred_url":"https://api.github.com/users/gcstaublin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcstaublin/subscriptions","organizations_url":"https://api.github.com/users/gcstaublin/orgs","repos_url":"https://api.github.com/users/gcstaublin/repos","events_url":"https://api.github.com/users/gcstaublin/events{/privacy}","received_events_url":"https://api.github.com/users/gcstaublin/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":19,"deletions":42,"changed_files":1}}