broccoli-stew

foundation of any healthy brocfile

Usage no npm install needed!

<script type="module">
  import broccoliStew from 'https://cdn.skypack.dev/broccoli-stew';
</script>

README

Broccoli Stew Build Status Build status Inline docs

Provides commonly used convenience functions for developing broccoli based build pipelines.

What's inside

Currently the following methods are available:

  • env - Conditionally runs a callback based upon the current environment.
  • mv - Moves an input tree to a different location.
  • rename - Renames files in a tree.
  • find - Match files in a tree.
  • map - Maps files, allow for simple content mutation.
  • log - Logs out files in the passed tree.
  • debug - Writes the passed tree to disk at the root of the project.
  • rm - Remove files from a tree.
  • afterBuild - Calls a callback function after the tree is read.
  • npm.main - Create a tree with Node module's main entry

Ok, but tell me more