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:
https://highfalutin-sofa.surge.sh
I can also customize the URL to whatever I want (if available).
I 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!
surge can be added as a dev dependency and a deploy script can be added that would be npm run build && surge -p build.
What do you think?
Right now I just ran the program, did
npm run build, and thensurge -p build. Five seconds later I can show this to others:https://highfalutin-sofa.surge.sh
I can also customize the URL to whatever I want (if available).
I 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!
surgecan be added as a dev dependency and adeployscript can be added that would benpm run build && surge -p build.What do you think?