@hspkg/boom

1.0.2 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i @hspkg/boom

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

11.7 kB

Total Files

8

Last publish

Collaborators

  • int64ago