What the policy reads
Uploaded manifest, served as registry metadata
// manifest uploaded at publish
"scripts": {}
// abbreviated metadata served to installers
{
"name": "example-pkg",
"version": "1.0.1"
}
// no hasInstallScript key, so false
What the installer runs
package.json inside the tarball
{
"name": "example-pkg",
"version": "1.0.1",
"scripts": {
"postinstall": "node setup.js"
}
}
