{"action":"created","comment":{"url":"https://api.github.com/repos/shakacode/react_on_rails/pulls/comments/41734446","id":41734446,"diff_hunk":"@@ -0,0 +1,63 @@\n+// Run like this:\n+// cd client && node server.js","path":"lib/generators/react_on_rails/templates/client/webpack.client.hot.config.js","position":2,"original_position":2,"commit_id":"8fdd6cab7931e547c3bd85d3cae1152cdc784481","original_commit_id":"8fdd6cab7931e547c3bd85d3cae1152cdc784481","user":{"login":"alexfedoseev","id":4244251,"avatar_url":"https://avatars.githubusercontent.com/u/4244251?v=3","gravatar_id":"","url":"https://api.github.com/users/alexfedoseev","html_url":"https://github.com/alexfedoseev","followers_url":"https://api.github.com/users/alexfedoseev/followers","following_url":"https://api.github.com/users/alexfedoseev/following{/other_user}","gists_url":"https://api.github.com/users/alexfedoseev/gists{/gist_id}","starred_url":"https://api.github.com/users/alexfedoseev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexfedoseev/subscriptions","organizations_url":"https://api.github.com/users/alexfedoseev/orgs","repos_url":"https://api.github.com/users/alexfedoseev/repos","events_url":"https://api.github.com/users/alexfedoseev/events{/privacy}","received_events_url":"https://api.github.com/users/alexfedoseev/received_events","type":"User","site_admin":false},"body":"Confirm, we should use `npm scripts` to run client's operations.","created_at":"2015-10-12T08:37:03Z","updated_at":"2015-10-12T08:37:03Z","html_url":"https://github.com/shakacode/react_on_rails/pull/53#discussion_r41734446","pull_request_url":"https://api.github.com/repos/shakacode/react_on_rails/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/shakacode/react_on_rails/pulls/comments/41734446"},"html":{"href":"https://github.com/shakacode/react_on_rails/pull/53#discussion_r41734446"},"pull_request":{"href":"https://api.github.com/repos/shakacode/react_on_rails/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/shakacode/react_on_rails/pulls/53","id":47229303,"html_url":"https://github.com/shakacode/react_on_rails/pull/53","diff_url":"https://github.com/shakacode/react_on_rails/pull/53.diff","patch_url":"https://github.com/shakacode/react_on_rails/pull/53.patch","issue_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/53","number":53,"state":"open","locked":false,"title":"Add Support generator to build a template webpack setup","user":{"login":"aaronvb","id":100900,"avatar_url":"https://avatars.githubusercontent.com/u/100900?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronvb","html_url":"https://github.com/aaronvb","followers_url":"https://api.github.com/users/aaronvb/followers","following_url":"https://api.github.com/users/aaronvb/following{/other_user}","gists_url":"https://api.github.com/users/aaronvb/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronvb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronvb/subscriptions","organizations_url":"https://api.github.com/users/aaronvb/orgs","repos_url":"https://api.github.com/users/aaronvb/repos","events_url":"https://api.github.com/users/aaronvb/events{/privacy}","received_events_url":"https://api.github.com/users/aaronvb/received_events","type":"User","site_admin":false},"body":"```\r\n> rails generate react_on_rails:install\r\n```\r\n\r\nCreated generators for:\r\n\r\n- React and Redux folders\r\n- Assets folder\r\n- Symlinks for images and fonts of they exist\r\n- Blank global jsx files\r\n- Update gitignore to ignore node modules\r\n- Insert generated and react_on_rails includes into application.js\r\n- Copy react_on_rails.rb config to app/initializers\r\n- Nodejs server files for the hot reload\r\n- Webpack config files\r\n- npm package\r\n\r\nI moved rails engine to its own file to be more explicit.\r\n\r\nRegarding the npm package.json, I copied it from the tutorial repo. I'm not sure if all of those packages should be included in the gem, or if you want to slim it down to the barebones react libraries.\r\n\r\n","created_at":"2015-10-09T02:50:48Z","updated_at":"2015-10-12T08:37:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e64828a4d93f8a772b562ccdf7ebc1198a30c6e0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/shakacode/react_on_rails/pulls/53/commits","review_comments_url":"https://api.github.com/repos/shakacode/react_on_rails/pulls/53/comments","review_comment_url":"https://api.github.com/repos/shakacode/react_on_rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/53/comments","statuses_url":"https://api.github.com/repos/shakacode/react_on_rails/statuses/8fdd6cab7931e547c3bd85d3cae1152cdc784481","head":{"label":"aaronvb:generators","ref":"generators","sha":"8fdd6cab7931e547c3bd85d3cae1152cdc784481","user":{"login":"aaronvb","id":100900,"avatar_url":"https://avatars.githubusercontent.com/u/100900?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronvb","html_url":"https://github.com/aaronvb","followers_url":"https://api.github.com/users/aaronvb/followers","following_url":"https://api.github.com/users/aaronvb/following{/other_user}","gists_url":"https://api.github.com/users/aaronvb/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronvb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronvb/subscriptions","organizations_url":"https://api.github.com/users/aaronvb/orgs","repos_url":"https://api.github.com/users/aaronvb/repos","events_url":"https://api.github.com/users/aaronvb/events{/privacy}","received_events_url":"https://api.github.com/users/aaronvb/received_events","type":"User","site_admin":false},"repo":{"id":43860651,"name":"react_on_rails","full_name":"aaronvb/react_on_rails","owner":{"login":"aaronvb","id":100900,"avatar_url":"https://avatars.githubusercontent.com/u/100900?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronvb","html_url":"https://github.com/aaronvb","followers_url":"https://api.github.com/users/aaronvb/followers","following_url":"https://api.github.com/users/aaronvb/following{/other_user}","gists_url":"https://api.github.com/users/aaronvb/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronvb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronvb/subscriptions","organizations_url":"https://api.github.com/users/aaronvb/orgs","repos_url":"https://api.github.com/users/aaronvb/repos","events_url":"https://api.github.com/users/aaronvb/events{/privacy}","received_events_url":"https://api.github.com/users/aaronvb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aaronvb/react_on_rails","description":"Integration of React + Webpack + Rails to build Universal (Isomorphic) Apps","fork":true,"url":"https://api.github.com/repos/aaronvb/react_on_rails","forks_url":"https://api.github.com/repos/aaronvb/react_on_rails/forks","keys_url":"https://api.github.com/repos/aaronvb/react_on_rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aaronvb/react_on_rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aaronvb/react_on_rails/teams","hooks_url":"https://api.github.com/repos/aaronvb/react_on_rails/hooks","issue_events_url":"https://api.github.com/repos/aaronvb/react_on_rails/issues/events{/number}","events_url":"https://api.github.com/repos/aaronvb/react_on_rails/events","assignees_url":"https://api.github.com/repos/aaronvb/react_on_rails/assignees{/user}","branches_url":"https://api.github.com/repos/aaronvb/react_on_rails/branches{/branch}","tags_url":"https://api.github.com/repos/aaronvb/react_on_rails/tags","blobs_url":"https://api.github.com/repos/aaronvb/react_on_rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aaronvb/react_on_rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aaronvb/react_on_rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/aaronvb/react_on_rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aaronvb/react_on_rails/statuses/{sha}","languages_url":"https://api.github.com/repos/aaronvb/react_on_rails/languages","stargazers_url":"https://api.github.com/repos/aaronvb/react_on_rails/stargazers","contributors_url":"https://api.github.com/repos/aaronvb/react_on_rails/contributors","subscribers_url":"https://api.github.com/repos/aaronvb/react_on_rails/subscribers","subscription_url":"https://api.github.com/repos/aaronvb/react_on_rails/subscription","commits_url":"https://api.github.com/repos/aaronvb/react_on_rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/aaronvb/react_on_rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/aaronvb/react_on_rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/aaronvb/react_on_rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/aaronvb/react_on_rails/contents/{+path}","compare_url":"https://api.github.com/repos/aaronvb/react_on_rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aaronvb/react_on_rails/merges","archive_url":"https://api.github.com/repos/aaronvb/react_on_rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aaronvb/react_on_rails/downloads","issues_url":"https://api.github.com/repos/aaronvb/react_on_rails/issues{/number}","pulls_url":"https://api.github.com/repos/aaronvb/react_on_rails/pulls{/number}","milestones_url":"https://api.github.com/repos/aaronvb/react_on_rails/milestones{/number}","notifications_url":"https://api.github.com/repos/aaronvb/react_on_rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aaronvb/react_on_rails/labels{/name}","releases_url":"https://api.github.com/repos/aaronvb/react_on_rails/releases{/id}","created_at":"2015-10-08T03:39:08Z","updated_at":"2015-10-08T03:39:08Z","pushed_at":"2015-10-09T02:38:42Z","git_url":"git://github.com/aaronvb/react_on_rails.git","ssh_url":"git@github.com:aaronvb/react_on_rails.git","clone_url":"https://github.com/aaronvb/react_on_rails.git","svn_url":"https://github.com/aaronvb/react_on_rails","homepage":null,"size":792,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"shakacode:master","ref":"master","sha":"57969068b7ea581ce191a02c2bbfa7ebf17258c4","user":{"login":"shakacode","id":13779463,"avatar_url":"https://avatars.githubusercontent.com/u/13779463?v=3","gravatar_id":"","url":"https://api.github.com/users/shakacode","html_url":"https://github.com/shakacode","followers_url":"https://api.github.com/users/shakacode/followers","following_url":"https://api.github.com/users/shakacode/following{/other_user}","gists_url":"https://api.github.com/users/shakacode/gists{/gist_id}","starred_url":"https://api.github.com/users/shakacode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shakacode/subscriptions","organizations_url":"https://api.github.com/users/shakacode/orgs","repos_url":"https://api.github.com/users/shakacode/repos","events_url":"https://api.github.com/users/shakacode/events{/privacy}","received_events_url":"https://api.github.com/users/shakacode/received_events","type":"Organization","site_admin":false},"repo":{"id":41117523,"name":"react_on_rails","full_name":"shakacode/react_on_rails","owner":{"login":"shakacode","id":13779463,"avatar_url":"https://avatars.githubusercontent.com/u/13779463?v=3","gravatar_id":"","url":"https://api.github.com/users/shakacode","html_url":"https://github.com/shakacode","followers_url":"https://api.github.com/users/shakacode/followers","following_url":"https://api.github.com/users/shakacode/following{/other_user}","gists_url":"https://api.github.com/users/shakacode/gists{/gist_id}","starred_url":"https://api.github.com/users/shakacode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shakacode/subscriptions","organizations_url":"https://api.github.com/users/shakacode/orgs","repos_url":"https://api.github.com/users/shakacode/repos","events_url":"https://api.github.com/users/shakacode/events{/privacy}","received_events_url":"https://api.github.com/users/shakacode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shakacode/react_on_rails","description":"Integration of React + Webpack + Rails to build Universal (Isomorphic) Apps","fork":false,"url":"https://api.github.com/repos/shakacode/react_on_rails","forks_url":"https://api.github.com/repos/shakacode/react_on_rails/forks","keys_url":"https://api.github.com/repos/shakacode/react_on_rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shakacode/react_on_rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shakacode/react_on_rails/teams","hooks_url":"https://api.github.com/repos/shakacode/react_on_rails/hooks","issue_events_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/events{/number}","events_url":"https://api.github.com/repos/shakacode/react_on_rails/events","assignees_url":"https://api.github.com/repos/shakacode/react_on_rails/assignees{/user}","branches_url":"https://api.github.com/repos/shakacode/react_on_rails/branches{/branch}","tags_url":"https://api.github.com/repos/shakacode/react_on_rails/tags","blobs_url":"https://api.github.com/repos/shakacode/react_on_rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shakacode/react_on_rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shakacode/react_on_rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/shakacode/react_on_rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shakacode/react_on_rails/statuses/{sha}","languages_url":"https://api.github.com/repos/shakacode/react_on_rails/languages","stargazers_url":"https://api.github.com/repos/shakacode/react_on_rails/stargazers","contributors_url":"https://api.github.com/repos/shakacode/react_on_rails/contributors","subscribers_url":"https://api.github.com/repos/shakacode/react_on_rails/subscribers","subscription_url":"https://api.github.com/repos/shakacode/react_on_rails/subscription","commits_url":"https://api.github.com/repos/shakacode/react_on_rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/shakacode/react_on_rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/shakacode/react_on_rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/shakacode/react_on_rails/contents/{+path}","compare_url":"https://api.github.com/repos/shakacode/react_on_rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shakacode/react_on_rails/merges","archive_url":"https://api.github.com/repos/shakacode/react_on_rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shakacode/react_on_rails/downloads","issues_url":"https://api.github.com/repos/shakacode/react_on_rails/issues{/number}","pulls_url":"https://api.github.com/repos/shakacode/react_on_rails/pulls{/number}","milestones_url":"https://api.github.com/repos/shakacode/react_on_rails/milestones{/number}","notifications_url":"https://api.github.com/repos/shakacode/react_on_rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shakacode/react_on_rails/labels{/name}","releases_url":"https://api.github.com/repos/shakacode/react_on_rails/releases{/id}","created_at":"2015-08-20T20:31:54Z","updated_at":"2015-10-12T07:10:38Z","pushed_at":"2015-10-12T07:26:36Z","git_url":"git://github.com/shakacode/react_on_rails.git","ssh_url":"git@github.com:shakacode/react_on_rails.git","clone_url":"https://github.com/shakacode/react_on_rails.git","svn_url":"https://github.com/shakacode/react_on_rails","homepage":null,"size":792,"stargazers_count":122,"watchers_count":122,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":20,"forks":13,"open_issues":20,"watchers":122,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shakacode/react_on_rails/pulls/53"},"html":{"href":"https://github.com/shakacode/react_on_rails/pull/53"},"issue":{"href":"https://api.github.com/repos/shakacode/react_on_rails/issues/53"},"comments":{"href":"https://api.github.com/repos/shakacode/react_on_rails/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/shakacode/react_on_rails/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/shakacode/react_on_rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shakacode/react_on_rails/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/shakacode/react_on_rails/statuses/8fdd6cab7931e547c3bd85d3cae1152cdc784481"}}}}