@hspkg/boom
v1.0.2
Published
A toolkit for CDN deployment.
Downloads
3
Readme
boom
A toolkit for CDN deployment.
Background
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.
Usage
In the root directory of project:
$ npx @hspkg/boom
Or
$ npm i -g @hspkg/boom
$ boom
License
MIT © Cody Chan