Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 710 Bytes

PUBLISH.md

File metadata and controls

37 lines (24 loc) · 710 Bytes

Publish

Requirements

  • npm account
    • with 2FA enabled

Steps

$ cd package

Check that CHANGELOG.md contains mention of what the release contains.

$ npm publish --tag beta [--dry-run]
...
Enter OTP: ...
+ [email protected]

Hint: You can store your access token by npm set //<registry>/:_authToken $TOKEN

Note: Once stable, remove the publishConfig.tag entry from package.json.

View https://www.npmjs.com/package/firebase-jest-testing.

Check you don't have uncommitted files (git status); commit them.

$ git tag 0.0.2-beta.3    	# what you published
$ git push --tags

That's it!