component-checkout
checkout or update a component from github for local install
Last updated 4 years ago by chemzqm .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install component-checkout 
SYNC missed versions from official npm registry.

#component-checkout

Check out or update all the semver tags(including master) from github into a global folder process.env.REMOTE_FOLDER.

The purpose is to have a static server on that to avoid too much github API call from component :)

It's a work in progress.

Require node >= 0.11.

Example

component checkout component/emitter@1.0.0

API

checkout(repo, [tag])

var checkout = require('component-checkout');

co(function* (){
  yield checkout('component/emitter', '1.0.0');
})();

License

MIT

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (13)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |