Roots is a fast, simple, and customizable static site compiler, currently in maintenance mode at version 5.2.0. It offers a flexible build pipeline with support for various preprocessors (Jade, Stylus, CoffeeScript, etc.), automatic asset pipeline, and live reload via Browsersync. Roots is no longer actively developed; the team now maintains Spike, a more modern alternative. Roots compiles static sites with minimal configuration and supports project scaffolding via Sprout. It is best suited for small-to-medium projects that don't require server-side rendering.
npm install rootsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a new Roots project, add a layout (Jade) and page, a Stylus stylesheet, compile to public/.
Evaluate Spike as a replacement for new projects.
Install ship globally: npm i ship -g, then run: roots compile && ship public -to <target>
Update Babel to v6 or remove Babel dependency.
Either use nvm or change npm global directory: see https://roots.cx/docs/error#eacces-permission-denied
Install globally: npm install -g roots
Install globally: npm install -g roots; ensure npm global bin is in PATH.
Install jade locally: npm install --save-dev jade; or use Pug (rename to .pug and install pug).
No dependency data recorded yet.