npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

wake-runner

v1.0.2

Published

CLI to start Wake storefront projects

Readme

wake-runner

CLI to start Wake storefront projects from the project root.

wake-runner automates two common tasks in Wake projects:

  • Start fbits.storefront using the token from Configs/settings.json
  • Start tailwindcss --watch for every input*.css file inside Assets/CSS/

Requirements

  • Node.js installed
  • fbits.storefront installed on your machine and available in your PATH
  • Tailwind CSS 3.4.18 installed on your machine (via standalone CLI in PATH or npm)—required for compatibility with the Wake template padrão
  • A Wake project containing:
    • Configs/settings.json
    • Assets/CSS/

External tools

Before using wake-runner, install the required CLIs on your machine.

fbits.storefront

fbits.storefront is required to start the local Wake Storefront server.

Follow the official Wake Commerce installation guide for your operating system:

  • https://wakecommerce.readme.io/docs/local#download

After installation, make sure fbits.storefront is available from your terminal.

Tailwind CSS (v3.4.18)

The default Wake template uses Tailwind CSS and recommends version 3.4.18. You must have this version installed. See the Wake Commerce – Template Padrão (TailwindCSS) documentation for details.

You can install Tailwind in either of these ways:

  1. Standalone CLI (recommended in Wake docs)
    Download the Tailwind CSS CLI release v3.4.18, add the binary to your system PATH, and ensure the tailwindcss command is available in your terminal.

  2. npm
    Install globally or in your Wake project:

    npm install -g [email protected]

    Or locally in the Wake project:

    npm install -D [email protected]

When you run wake tailwind or wake, the CLI will:

  • use the local npm Tailwind when node_modules/.bin/tailwindcss exists in the current project
  • otherwise use the global tailwindcss command from your PATH

Expected project structure

Run the commands from the root of your Wake project:

your-wake-project/
├── Configs/
│   └── settings.json
└── Assets/
    └── CSS/
        ├── input.css
        ├── input_login.css
        └── input_checkout.css

settings.json must contain an access_token field:

{
  "access_token": "your-token-here"
}

Installation

Install globally from npm:

npm install -g wake-runner

For local development of this package, inside the package folder:

npm install -g .

Usage

Go to your Wake project root and run one of the commands below.

If you are using a local npm Tailwind installation, run these commands from the same project root where tailwindcss was installed.

Run wake --help at any time to see all commands, flags, and examples directly in the terminal.

Start everything

Starts fbits.storefront and all Tailwind watchers:

wake

Extra flags in wake (all) mode are forwarded to fbits.storefront only. Use wake tailwind [flags] to pass flags to tailwindcss:

wake --port 3000          # passes --port 3000 to fbits.storefront only
wake --no-minify          # disables Tailwind minification only

Start only storefront

wake storefront

Or:

wake-storefront

Any extra flags are forwarded directly to fbits.storefront:

wake storefront --port 3000
wake storefront --port 3000 --save
wake-storefront --port 3000

Start only Tailwind watchers

Starts one watcher for each input*.css file found directly inside Assets/CSS/.

wake tailwind

Or:

wake-tailwind

CSS is minified by default. To disable minification:

wake tailwind --no-minify
wake-tailwind --no-minify

Any other extra flags are forwarded directly to tailwindcss:

wake tailwind --content "./src/**/*.html"
wake-tailwind --no-minify --content "./src/**/*.html"

Help

wake --help
wake -h

CSS file mapping

Each input file is mapped to an output file by replacing the leading input prefix with output.

Examples:

  • input.css -> output.css
  • input_login.css -> output_login.css
  • input_partner.css -> output_partner.css

How it works

wake storefront

  • Reads Configs/settings.json
  • Extracts access_token
  • Forwards any extra flags to fbits.storefront
  • Runs:
fbits.storefront --token <access_token> [extra flags]

wake tailwind

  • Reads files directly from Assets/CSS/
  • Finds files that start with input and end with .css
  • Starts one process per file
  • Minification enabled by default; pass --no-minify to disable
  • Forwards any extra flags (other than --no-minify) to tailwindcss
  • Uses local npm Tailwind when available, otherwise uses the global tailwindcss command:
tailwindcss -i ./Assets/CSS/input.css -o ./Assets/CSS/output.css --watch --minify [extra flags]

Errors

The CLI exits with code 1 when:

  • Configs/settings.json does not exist
  • Configs/settings.json is invalid JSON
  • access_token is missing or empty
  • Assets/CSS/ does not exist
  • No input*.css files are found

Notes

  • Only files directly inside Assets/CSS/ are scanned
  • Subdirectories are not scanned
  • The CLI uses only Node.js built-in modules
  • Tailwind 3.4.18 can be installed via the standalone CLI (add to PATH) or via npm (global or local in the Wake project)
  • On Windows, separate commands are exposed as wake-storefront and wake-tailwind instead of names containing :
  • Any flag not recognized by wake-runner (--help, --no-minify) is forwarded to the underlying CLI

License

MIT