metalbox
set of components for building/releasing stuff
Last updated 2 years ago by streetstrider .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install metalbox 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.17.3                                ...           latest (2 years ago)

33 Versions

  • 1.17.3                                ...           2 years ago
  • 1.17.2                                ...           2 years ago
  • 1.17.1                                ...           2 years ago
  • 1.17.0                                ...           2 years ago
  • 1.16.0                                ...           2 years ago
  • 1.15.3                                ...           2 years ago
  • 1.15.2                                ...           2 years ago
  • 1.15.1                                ...           2 years ago
  • 1.15.0                                ...           2 years ago
  • 1.14.0                                ...           2 years ago
  • 1.13.0                                ...           2 years ago
  • 1.12.0                                ...           2 years ago
  • 1.11.0                                ...           2 years ago
  • 1.10.0                                ...           2 years ago
  • 1.9.2                                ...           2 years ago
  • 1.9.1                                ...           2 years ago
  • 1.9.0                                ...           2 years ago
  • 1.8.1                                ...           2 years ago
  • 1.8.0                                ...           2 years ago
  • 1.7.2                                ...           2 years ago
  • 1.7.1                                ...           2 years ago
  • 1.7.0                                ...           2 years ago
  • 1.6.0                                ...           2 years ago
  • 1.5.2                                ...           2 years ago
  • 1.5.1                                ...           2 years ago
  • 1.5.0                                ...           3 years ago
  • 1.4.0                                ...           3 years ago
  • 1.3.1                                ...           3 years ago
  • 1.3.0                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 1.0.0-pre4                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 1
Last Month 34
Dev Dependencies (9)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |