自動
> yarn add phina.js
yarn add v0.27.5
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
└─ phina.js@0.1.2
Done in 5.11s.
github指定
> yarn add https://github.com/phinajs/phina.js
yarn add v0.27.5
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
└─ phina.js@0.1.1
Done in 22.24s.
github_tag指定
> yarn add https://github.com/phinajs/phina.js/tree/v0.2.0
yarn add v0.27.5
[1/4] Resolving packages...
error An unexpected error occurred: "https://github.com/phinajs/phina.js/tree/v0.2.0: Request failed
\"406 Not Acceptable\"".
そもそもとれたとてgulpでsetupしなければならんので、おとなしくcloneかzip落とすかCDN読み込みするのが吉なのかしらん。