Closed
Description
Current Behavior:
postpack script runs BEFORE the tarball has been generated and moved to its final destination.
Expected Behavior:
As is in the documentation:
Runs AFTER the tarball has been generated and moved to its final destination.
Steps To Reproduce:
copy this package.json to an empty directory
{
"name": "postpacktest",
"version": "1.0.0",
"scripts": {
"prepack": "rm postpacktest-1.0.0.tgz",
"postpack": "ls -al"
}
}
run:
npm pack
and then
ls -al
Environment:
*nix