pack

v0.0.2arrow_drop_down
v0.0.2
v0.0.1
STATUS
None
DOWNLOADS
76
VISIBILITY
Public
subject
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.
2 contributors
Like
Use pack in your project ?
Copied
npm i @bit/bitsrc.extensions.npm.pack
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
chevron_left
chevron_right

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