node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

metalbox

metalbox + metalbucket

metalbox — set of components for building/releasing stuff.

metalbox run <release>   # run Release from local or `src/release` 
metalbox preset <preset> # run from package.json `metalbox.presets` 
metalbox template <template> # as `run` but `dst = .`, does not require `package.json` 

metalbucketFrontend, Backend and Library targets we use in StrangeTransistor implemented on top of metalbox.

Run Releases & templates:

metalbox run
# or 
metalbox r Backend
           Backend/Dev
           Frontend
           Frontend/Dev
           Library
           Library/Dev
 
metalbox template
# or 
metalbox t template/Frontend
  "metalbox":
  {
    "presets":
    {
      "dev":
      [
        "Frontend/Dev",
        {
          "dst": "release/dev"
        }
      ]
    }
  },

Run presets:

metalbox preset
# or 
metalbox p dev # run `metalbox.presets.dev` 

urls:

background: url(~assets/index/image.png);
link(rel='stylesheet' href=asset('index.css'))
script(src=asset('index.js'))
img(src=asset('~assets/index/image.png'))
div(style={ 'background-image': asset.url('~assets/index/image.png') })

— This… is a bucket.

— Dear God!

— There's more.

— No!…

Expiration Date

license

ISC © StrangeTransistor, 2016 — 2017.