@financial-times/n-bottle
v1.1.1
Published
Publishes components to npm, bower & github
Downloads
14
Maintainers
Keywords
Readme
n-bottle
Component publishing for next (and any other FT projects that use npm/bower)
Install
npm install -g @financial-times/n-bottle
Commands
bottle major
,bottle minor
,bottle patch
- release a major, minor or patch version. Will only work on the master branchbottle v1
- releasev1.0.0
- e.g.
bottle 0.0.1
orbottle 2.0.0-beta.1
- release a beta/pre-release (will run on any branch)
First release
- package.json must contain a version number for the first release
- Components will initially be published on bower only. To force publish to npm use
--npm
i.e.bottle major --npm
. (subsequent releases will always publish to npm without needing to be forced)