Closed
Description
I have the following package.json
"scripts": {
"prepack": "pinst --disable",
"postpack": "pinst --enable",
"postinstall": "run-my-thing"
},
When I publish this package, as expected, the tarball contains:
"scripts": {
"prepack": "pinst --disable",
"postpack": "pinst --enable",
"_postinstall": "run-my-thing"
},
But, shockingly, when I npx this module (or npm i in a blank project), it tries to run run-my-thing
. What could POSSIBLY be causing this? I am so very confused.
Metadata
Metadata
Assignees
Labels
No labels