Skip to content

int64ago/boom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boom

NPM version Downloads JavaScript Style Guide

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

screenshot

License

MIT © Cody Chan

About

[npm] A toolkit for CDN deployment.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages