A toolkit for CDN deployment.
There're lots of ways to deploy a backend application, but not for frontend applications.
IMO, we can make things easier by CI:
- Git push to repository with special marks
- Trigger CI to build and publish to CDN
Here marks can be a branch or tag which can also be used to separate different environments. And here we make an assumption:
- A branch like
daily/x.y.z: publish to daily environment
- A tag like
publish/x.y.z: publish to production environment
The tool is a gadget to do these things better for you. If you have different marks, fork & modify as you like.
In the root directory of project:
$ npx @hspkg/boom
$ npm i -g @hspkg/boom$ boom
MIT © Cody Chan