package.jsonで読み込み先を指定してインストール
たまにしか使わなくてよく忘れるのでメモ。
リポジトリ向ける
{ "name": "app", "version": "0.0.1", "description": "app", "author": "kinosuke", "dependencies": { "common": "git+ssh://git@github.com:account/rep.git#branch" } }
ローカル向ける
{ "name": "app", "version": "0.0.1", "description": "app", "author": "kinosuke", "dependencies": { "common": "../rep" } }