Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 411 Bytes

File metadata and controls

22 lines (17 loc) · 411 Bytes

Publishing

# 1. Commit all changes
git add . && git commit -m "your changes"

# 2. Bump version (creates tag and pushes)
npm version patch   # 0.0.1 -> 0.0.2
npm version minor   # 0.0.1 -> 0.1.0
npm version major   # 0.0.1 -> 1.0.0

# 3. Preview package contents
npm pack --dry-run

# 4. Publish
npm publish

Pre-release:

npm version prerelease --preid=beta && npm publish --tag beta