jsonkao / react-scrollama

Simple scrollytelling with the IntersectionObserver in React.
https://jsonkao.github.io/react-scrollama
MIT License
390 stars 30 forks source link

Changes prepublish to prepublishOnly script #32

Closed kennethormandy closed 4 years ago

kennethormandy commented 4 years ago

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.

Thanks for the work on this component!

jsonkao commented 4 years ago

Thanks for letting me know and writing the PR! Merged.