Share your code. Components are building blocks, you are the architect.

npm/pack
v0.0.2
0.0.2
0.0.1
PUBLIC
11
2     DEPENDENCIES
Build: none
BuildNone
This extension registers a pack command, whose purpose is to pack a Bit component to a `.tar` file, in order to publish it to npm.
Gravatar for undefined
bitsrc
Contributors
Gravatar for undefinedGravatar for undefined
0

Please configure Bit as a scoped registry to install components with NPM.Learn more

npm config set '@bit:registry' https://node.bitsrc.io
Use npm/pack in your project
npm i @bit/bitsrc.extensions.npm.pack
Copied

This extension registers a pack command, whose purpose is to pack a Bit component to a .tar file, in order to publish it to npm.

Synopsis

bit pack <componentId> [scopePath] [-d <out-dir>] [-o]

Examples

bit pack utils/foo.bar

Options

-d <out-dir>

Directory to put the result .tar file.

bit pack utils/foo.bar -d '~/Documents/packages/'

-o

Override existing file.

bit pack utils/foo.bar -o