{"action":"created","issue":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/84","repository_url":"https://api.github.com/repos/facebookincubator/create-react-app","labels_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/84/comments","events_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/84/events","html_url":"https://github.com/facebookincubator/create-react-app/issues/84","id":167098793,"number":84,"title":"Deployment with Surge or similar","user":{"login":"sotojuan","id":8217766,"avatar_url":"https://avatars.githubusercontent.com/u/8217766?v=3","gravatar_id":"","url":"https://api.github.com/users/sotojuan","html_url":"https://github.com/sotojuan","followers_url":"https://api.github.com/users/sotojuan/followers","following_url":"https://api.github.com/users/sotojuan/following{/other_user}","gists_url":"https://api.github.com/users/sotojuan/gists{/gist_id}","starred_url":"https://api.github.com/users/sotojuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sotojuan/subscriptions","organizations_url":"https://api.github.com/users/sotojuan/orgs","repos_url":"https://api.github.com/users/sotojuan/repos","events_url":"https://api.github.com/users/sotojuan/events{/privacy}","received_events_url":"https://api.github.com/users/sotojuan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebookincubator/create-react-app/labels/discussion","name":"discussion","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-07-22T17:56:28Z","updated_at":"2016-07-22T19:51:08Z","closed_at":null,"body":"Right now I just ran the program, did `npm run build`, and then `surge -p build`. Five seconds later I can show this to others:\r\n\r\nhttps://highfalutin-sofa.surge.sh\r\n\r\nI can also customize the URL to whatever I want (if available).\r\n\r\nI feel like this is a great feature that could be added—one command, no config deployments. Imagine you're learning React and did something cool and want to share it but have no idea what Heroku, Digital Ocean, etc. are. This did it for you!\r\n\r\n`surge` can be added as a dev dependency and a `deploy` script can be added that would be `npm run build && surge -p build`.\r\n\r\nWhat do you think?"},"comment":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/comments/234639646","html_url":"https://github.com/facebookincubator/create-react-app/issues/84#issuecomment-234639646","issue_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/84","id":234639646,"user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T19:51:08Z","updated_at":"2016-07-22T19:51:08Z","body":">the publicPath is not needed for production, if you change the '/' for '', it will work on GitHub pages.\r\n\r\nWon’t this break single page apps with client side history API routing though?\r\nLike I describe here: https://github.com/facebookincubator/create-react-app/issues/95#issuecomment-234639120"}}
{"actor":{"display_login":"gaearon"}}