Common configuration for Polymer node projects. Sets up static analysis, testing and more.
Last updated 6 years ago by nevir .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install substratum 
SYNC missed versions from official npm registry.


Substratum provides a baseline configuration for your Node.js projects, primarily via a set of common gulp tasks.

To get started:

npm install substratum --save

and create a gulpfile.js:

var gulp = require('gulp');


Substratum will assume a standard project layout, with sources under src/, tests under test/, etc.

You can override these values (and many more), by passing options via the second argument to configureTasks.

See Context for a full reference.

Gulp Tasks

Substratum defines many gulp tasks for you in a cascade. Tasks are grouped into namespaces, and a namespace tasks will run all tasks under them. I.e. gulp test will run all tasks that begin with test:.

For a full reference, just run gulp -T.


This should be your bread and butter. Leave gulp watch running in the background, and it will continually run tests against any file that changes as you edit it. Any issues will trigger a notification for you.


Runs jshint configured for a modern world against your project's sources.


Runs jshint configured for a modern world against your project's sources.

Current Tags

  • 0.1.2                                ...           latest (6 years ago)

2 Versions

  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dependencies (14)
Dev Dependencies (1)
Dependents (0)

Copyright 2014 - 2016 © |