pack

v2.0.2arrow_drop_down
v2.0.2
v2.0.1
v2.0.0
v0.2.1
v0.2.0
v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1.0
v0.0.2
v0.0.1
STATUS
None
DOWNLOADS
3,370
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
45 KB
4 contributors
Install pack as a package?
Copied
npm i @bit/bit.extensions.npm.pack
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
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';
toggle layout
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 npm-pack <componentId> [scopePath] [-d <out-dir>] [-o]

Examples

bit npm-pack utils/foo.bar

Options

-d <out-dir>

Directory to put the result .tar file.

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

-o

Override existing file.

bit npm-pack utils/foo.bar -o
Help and resources