The easy metafile manager
Using npm.
$ npm install -g chest
Confirm.
$ chest usage
chest usage Show this message
chest put <file> Put specified config file in the chest
chest take <file> Take specified config file from the chest into the project root
chest list Show list of config files in the chest
chest open Place config files from the chest into the project root as symbolic links
chest install Install all supported config files in the chest
chest boost Open and install
chest close Remove symbolic links created by "open"
Put metafile in the chest
$ cat bower.json
{
"devDependencies": {
"bootstrap": "~3.1.1"
}
}
$ chest put bower.json
Make bower and component install easy to use with postinstall
:
{
"scripts": {
"postinstall": "chest boost",
"test": "mocha test/*.js"
},
"devDependencies": {
"mocha": "*",
"chest": "*"
},
}
Then if bower.json
is in the chest, bower install
is executed after npm install
:
$ npm install
> chest@0.1.0
> ./bin/chest.js boost
bower bootstrap#~3.1.1 cached git://github.com/twbs/bootstrap.git#3.1.1
bower bootstrap#~3.1.1 validate 3.1.1 against git://github.com/twbs/bootstrap.git#~3.1.1
bower jquery#>= 1.9.0 cached git://github.com/jquery/jquery.git#2.1.1
bower jquery#>= 1.9.0 validate 2.1.1 against git://github.com/jquery/jquery.git#>= 1.9.0
bower bootstrap#~3.1.1 install bootstrap#3.1.1
bower jquery#>= 1.9.0 install jquery#2.1.1
Fork it Create your feature branch (git checkout -b my-new-feature) Commit your changes (git commit -am 'Added some feature') Push to the branch (git push origin my-new-feature) Create new Pull Request