@oleg-ch/build-scripts

Common build scripts.

Usage no npm install needed!

<script type="module">
  import olegChBuildScripts from 'https://cdn.skypack.dev/@oleg-ch/build-scripts';
</script>

README

@oleg-ch/build-scripts

Common build scripts.

Installation

yarn add -D @oleg-ch/build-scripts

Usage

Usage: build-scripts [options] [command]

Options:
  -h, --help            display help for command

Commands:
  revision [options]    Get current git branch revision
  hash-files [options]  Adds hashes to filenames and copy them to out dir-ry. Will also sync files between dir-s
  cleanup [options]     Creates and removes directories
  inc-sw [options]      Increments version in service worker template file
  remove-dir [options]  Recursively searches and removes target dir-ry from source dir-ry
  favicons [options]    Generate a set of favicons from a single square source image (recommended source image sizes are 1500x1500)
  help [command]        display help for command