metalbox
v1.17.3
Published
set of components for building/releasing stuff
Downloads
23
Readme
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`
metalbucket — Frontend, 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!…
license
ISC © StrangeTransistor, 2016 — 2017.