$ npm version patch # <- v1.0.0 からv1.0.1 にアップ
v0.0.1
$ npm version minor
v0.1.0
$ npm version major
v1.0.0
$ git tag # <- git のtag も自動的に作成される
v1.0.0
v1.0.1
$ git push origin tags/v0.1.6 # <- ただし、git push まではやってくれないので、必要に応じて自分でgit push ...
$ npm publish ./ # <- npm で公開
Last active
March 3, 2019 14:32
-
-
Save 35d/ab8f8a0e7da4a4d08f4c4191e594a174 to your computer and use it in GitHub Desktop.
npm ライブラリ公開手順メモ
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment