Rosey / markdown-draft-js

A tool to convert content created in DraftJS to markdown and vice versa.
https://rosey.github.io/markdown-draft-js/
MIT License
318 stars 69 forks source link

Transition from prepublish to prepare scripts? #139

Open alibosworth opened 4 years ago

alibosworth commented 4 years ago

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