Rosey/markdown-draft-js

Transition from prepublish to prepare scripts?

Opened this issue · 0 comments

Hi! We had an issue where we forked this library and made some local modifications, but when using it via a sha-(and fork) specific package.json line, it wasn't working, this was because the "prepublish" script only runs before the package is published to NPM. The fix for our fork was to duplicate the prepublish script as a prepare script, however perhaps that is a more useful stage to run at?

https://docs.npmjs.com/misc/scripts#prepublish-and-prepare