Like
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
and packages in Bit or NPM to the example. any of the 1 million componentstoggle 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