1. broccoli-stew
foundation of any healthy brocfile
broccoli-stew
Package: broccoli-stew
Created by: stefanpenner
Last modified: Mon, 13 Jun 2022 05:08:16 GMT
Version: 3.0.0
License: MIT
Downloads: 1,407,398
Repository: https://github.com/stefanpenner/broccoli-stew

Install

npm install broccoli-stew
yarn add broccoli-stew

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

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code