{"action":"created","comment":{"url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/pulls/comments/55194445","id":55194445,"diff_hunk":"@@ -0,0 +1,27 @@\n+const path = require('path')\n+\n+module.exports = {\n+  locals: function (options) {\n+    // Return custom template variables here.\n+    return {}\n+  },\n+\n+  fileMapTokens: function (options) {\n+    // Return custom tokens to be replaced in your files\n+    return {\n+      __token__: function (options) {\n+        // logic to determine value goes here\n+        return 'value'\n+      }\n+    }\n+  },\n+\n+  // Should probably never need to be overriden\n+\n+  filesPath: function () {\n+    return path.join(this.path, 'files')\n+  },\n+\n+  beforeInstall: function (options) {},\n+  afterInstall: function (options) {}\n+}","path":"blueprints/reducer/index.js","position":11,"original_position":27,"commit_id":"191691d7477b236c6948803b68e2a1a04634aa5b","original_commit_id":"305957b20587cb95e213a5cd1c114492abf30439","user":{"login":"SpencerCDixon","id":7471018,"avatar_url":"https://avatars.githubusercontent.com/u/7471018?v=3","gravatar_id":"","url":"https://api.github.com/users/SpencerCDixon","html_url":"https://github.com/SpencerCDixon","followers_url":"https://api.github.com/users/SpencerCDixon/followers","following_url":"https://api.github.com/users/SpencerCDixon/following{/other_user}","gists_url":"https://api.github.com/users/SpencerCDixon/gists{/gist_id}","starred_url":"https://api.github.com/users/SpencerCDixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpencerCDixon/subscriptions","organizations_url":"https://api.github.com/users/SpencerCDixon/orgs","repos_url":"https://api.github.com/users/SpencerCDixon/repos","events_url":"https://api.github.com/users/SpencerCDixon/events{/privacy}","received_events_url":"https://api.github.com/users/SpencerCDixon/received_events","type":"User","site_admin":false},"body":"line 1 of blueprints/reducers/index.js.  You can have it just export an empty object since you don't need to override any of the hooks.\r\n\r\nI think there may already be a `duck` blueprint that does something like this, but might be useful to have different versions of blueprints.","created_at":"2016-03-07T12:05:58Z","updated_at":"2016-03-07T12:05:58Z","html_url":"https://github.com/davezuko/react-redux-starter-kit/pull/630#discussion_r55194445","pull_request_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/pulls/630","_links":{"self":{"href":"https://api.github.com/repos/davezuko/react-redux-starter-kit/pulls/comments/55194445"},"html":{"href":"https://github.com/davezuko/react-redux-starter-kit/pull/630#discussion_r55194445"},"pull_request":{"href":"https://api.github.com/repos/davezuko/react-redux-starter-kit/pulls/630"}}},"pull_request":{"url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/pulls/630","id":61847370,"html_url":"https://github.com/davezuko/react-redux-starter-kit/pull/630","diff_url":"https://github.com/davezuko/react-redux-starter-kit/pull/630.diff","patch_url":"https://github.com/davezuko/react-redux-starter-kit/pull/630.patch","issue_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/630","number":630,"state":"open","locked":false,"title":"Added reducer blueprint","user":{"login":"ericwooley","id":1930227,"avatar_url":"https://avatars.githubusercontent.com/u/1930227?v=3","gravatar_id":"","url":"https://api.github.com/users/ericwooley","html_url":"https://github.com/ericwooley","followers_url":"https://api.github.com/users/ericwooley/followers","following_url":"https://api.github.com/users/ericwooley/following{/other_user}","gists_url":"https://api.github.com/users/ericwooley/gists{/gist_id}","starred_url":"https://api.github.com/users/ericwooley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericwooley/subscriptions","organizations_url":"https://api.github.com/users/ericwooley/orgs","repos_url":"https://api.github.com/users/ericwooley/repos","events_url":"https://api.github.com/users/ericwooley/events{/privacy}","received_events_url":"https://api.github.com/users/ericwooley/received_events","type":"User","site_admin":false},"body":"The reducers are what I use the blueprints for the most so far, figured I would contribute back my blueprint for reducers.\r\n\r\nIf you don't want a reducer blueprint, feel free to reject.","created_at":"2016-03-06T16:38:31Z","updated_at":"2016-03-07T12:05:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de3853503ac9aa1c0bc99e9320b50c98424636a2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/pulls/630/commits","review_comments_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/pulls/630/comments","review_comment_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/630/comments","statuses_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/statuses/191691d7477b236c6948803b68e2a1a04634aa5b","head":{"label":"ericwooley:reducer-blueprint","ref":"reducer-blueprint","sha":"191691d7477b236c6948803b68e2a1a04634aa5b","user":{"login":"ericwooley","id":1930227,"avatar_url":"https://avatars.githubusercontent.com/u/1930227?v=3","gravatar_id":"","url":"https://api.github.com/users/ericwooley","html_url":"https://github.com/ericwooley","followers_url":"https://api.github.com/users/ericwooley/followers","following_url":"https://api.github.com/users/ericwooley/following{/other_user}","gists_url":"https://api.github.com/users/ericwooley/gists{/gist_id}","starred_url":"https://api.github.com/users/ericwooley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericwooley/subscriptions","organizations_url":"https://api.github.com/users/ericwooley/orgs","repos_url":"https://api.github.com/users/ericwooley/repos","events_url":"https://api.github.com/users/ericwooley/events{/privacy}","received_events_url":"https://api.github.com/users/ericwooley/received_events","type":"User","site_admin":false},"repo":{"id":53264725,"name":"react-redux-starter-kit","full_name":"ericwooley/react-redux-starter-kit","owner":{"login":"ericwooley","id":1930227,"avatar_url":"https://avatars.githubusercontent.com/u/1930227?v=3","gravatar_id":"","url":"https://api.github.com/users/ericwooley","html_url":"https://github.com/ericwooley","followers_url":"https://api.github.com/users/ericwooley/followers","following_url":"https://api.github.com/users/ericwooley/following{/other_user}","gists_url":"https://api.github.com/users/ericwooley/gists{/gist_id}","starred_url":"https://api.github.com/users/ericwooley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericwooley/subscriptions","organizations_url":"https://api.github.com/users/ericwooley/orgs","repos_url":"https://api.github.com/users/ericwooley/repos","events_url":"https://api.github.com/users/ericwooley/events{/privacy}","received_events_url":"https://api.github.com/users/ericwooley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ericwooley/react-redux-starter-kit","description":"Get started with React, Redux, and React-Router!","fork":true,"url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit","forks_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/forks","keys_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/teams","hooks_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/hooks","issue_events_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/issues/events{/number}","events_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/events","assignees_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/assignees{/user}","branches_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/branches{/branch}","tags_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/tags","blobs_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/git/refs{/sha}","trees_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/statuses/{sha}","languages_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/languages","stargazers_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/stargazers","contributors_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/contributors","subscribers_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/subscribers","subscription_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/subscription","commits_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/commits{/sha}","git_commits_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/git/commits{/sha}","comments_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/comments{/number}","issue_comment_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/issues/comments{/number}","contents_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/contents/{+path}","compare_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/merges","archive_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/downloads","issues_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/issues{/number}","pulls_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/pulls{/number}","milestones_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/milestones{/number}","notifications_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/labels{/name}","releases_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/releases{/id}","deployments_url":"https://api.github.com/repos/ericwooley/react-redux-starter-kit/deployments","created_at":"2016-03-06T16:34:49Z","updated_at":"2016-03-06T16:34:50Z","pushed_at":"2016-03-07T03:49:29Z","git_url":"git://github.com/ericwooley/react-redux-starter-kit.git","ssh_url":"git@github.com:ericwooley/react-redux-starter-kit.git","clone_url":"https://github.com/ericwooley/react-redux-starter-kit.git","svn_url":"https://github.com/ericwooley/react-redux-starter-kit","homepage":"","size":714,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"davezuko:master","ref":"master","sha":"8a3f5d73a4368a2fb561fd15e626a402923f67bb","user":{"login":"davezuko","id":6439050,"avatar_url":"https://avatars.githubusercontent.com/u/6439050?v=3","gravatar_id":"","url":"https://api.github.com/users/davezuko","html_url":"https://github.com/davezuko","followers_url":"https://api.github.com/users/davezuko/followers","following_url":"https://api.github.com/users/davezuko/following{/other_user}","gists_url":"https://api.github.com/users/davezuko/gists{/gist_id}","starred_url":"https://api.github.com/users/davezuko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davezuko/subscriptions","organizations_url":"https://api.github.com/users/davezuko/orgs","repos_url":"https://api.github.com/users/davezuko/repos","events_url":"https://api.github.com/users/davezuko/events{/privacy}","received_events_url":"https://api.github.com/users/davezuko/received_events","type":"User","site_admin":false},"repo":{"id":38003903,"name":"react-redux-starter-kit","full_name":"davezuko/react-redux-starter-kit","owner":{"login":"davezuko","id":6439050,"avatar_url":"https://avatars.githubusercontent.com/u/6439050?v=3","gravatar_id":"","url":"https://api.github.com/users/davezuko","html_url":"https://github.com/davezuko","followers_url":"https://api.github.com/users/davezuko/followers","following_url":"https://api.github.com/users/davezuko/following{/other_user}","gists_url":"https://api.github.com/users/davezuko/gists{/gist_id}","starred_url":"https://api.github.com/users/davezuko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davezuko/subscriptions","organizations_url":"https://api.github.com/users/davezuko/orgs","repos_url":"https://api.github.com/users/davezuko/repos","events_url":"https://api.github.com/users/davezuko/events{/privacy}","received_events_url":"https://api.github.com/users/davezuko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davezuko/react-redux-starter-kit","description":"Get started with React, Redux, and React-Router!","fork":false,"url":"https://api.github.com/repos/davezuko/react-redux-starter-kit","forks_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/forks","keys_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/teams","hooks_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/hooks","issue_events_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/events{/number}","events_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/events","assignees_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/assignees{/user}","branches_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/branches{/branch}","tags_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/tags","blobs_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/git/refs{/sha}","trees_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/statuses/{sha}","languages_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/languages","stargazers_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/stargazers","contributors_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/contributors","subscribers_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/subscribers","subscription_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/subscription","commits_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/commits{/sha}","git_commits_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/git/commits{/sha}","comments_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/comments{/number}","issue_comment_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/comments{/number}","contents_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/contents/{+path}","compare_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/merges","archive_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/downloads","issues_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues{/number}","pulls_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/pulls{/number}","milestones_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/milestones{/number}","notifications_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/labels{/name}","releases_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/releases{/id}","deployments_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/deployments","created_at":"2015-06-24T18:38:28Z","updated_at":"2016-03-07T11:10:47Z","pushed_at":"2016-03-07T03:49:29Z","git_url":"git://github.com/davezuko/react-redux-starter-kit.git","ssh_url":"git@github.com:davezuko/react-redux-starter-kit.git","clone_url":"https://github.com/davezuko/react-redux-starter-kit.git","svn_url":"https://github.com/davezuko/react-redux-starter-kit","homepage":"","size":3085,"stargazers_count":2814,"watchers_count":2814,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":519,"mirror_url":null,"open_issues_count":17,"forks":519,"open_issues":17,"watchers":2814,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/davezuko/react-redux-starter-kit/pulls/630"},"html":{"href":"https://github.com/davezuko/react-redux-starter-kit/pull/630"},"issue":{"href":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/630"},"comments":{"href":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/630/comments"},"review_comments":{"href":"https://api.github.com/repos/davezuko/react-redux-starter-kit/pulls/630/comments"},"review_comment":{"href":"https://api.github.com/repos/davezuko/react-redux-starter-kit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/davezuko/react-redux-starter-kit/pulls/630/commits"},"statuses":{"href":"https://api.github.com/repos/davezuko/react-redux-starter-kit/statuses/191691d7477b236c6948803b68e2a1a04634aa5b"}}}}