Skip to main content


The pack command is a multi-step pre-release solution for preparing a package for distribution. When ran, it begins by cleaning, then building the package, and finally validating the package before a release.

If any of the steps fail, a non-zero exit code will be triggered, allowing the release cycle to be aborted.

"scripts": {
"pack": "packemon pack --addEngines --declaration",
"release": "yarn run pack && yarn publish"


Pack supports all the same command line options as build. The validation step cannot be customized and will validate everything by default.