This PR changes the deprecated prepublish run script to the newer prepublishOnly. I think this will preserve what you want—npm run build should still run before npm publish—but it won’t run on npm install for people setting up the repository locally for the first time.
This PR changes the deprecated
prepublish
run script to the newerprepublishOnly
. I think this will preserve what you want—npm run build
should still run beforenpm publish
—but it won’t run onnpm install
for people setting up the repository locally for the first time.Thanks for the work on this component!