markdown-draft-js icon indicating copy to clipboard operation
markdown-draft-js copied to clipboard

Transition from prepublish to prepare scripts?

Open alibosworth opened this issue 4 years ago • 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

alibosworth avatar Sep 15 '20 21:09 alibosworth