Tooling

npm pack

Create a local tarball of a package without publishing.

Formal Syntax & Structure

react syntaxreact
npm pack --ignore-scripts --offline

Working Example

Example Snippetreact
npm pack --dry-run --json --ignore-scripts --offline
React Reference