@frangio added this nice build script in #64 - initially he used the prepare hook but because that's so new it was changed to prepublish.
This works well for CI and publishing to npm but if you try to install SP as a dependency from the git repo in order to have access to the latest changes, the built parser isn't there. This issue at npm describes the problem.
It looks like having a postinstall hook would make it possible to install successfully from the repo, Does anyone have any views about this?
@frangio added this nice build script in #64 - initially he used the
prepare
hook but because that's so new it was changed toprepublish
.This works well for CI and publishing to npm but if you try to install SP as a dependency from the git repo in order to have access to the latest changes, the built parser isn't there. This issue at npm describes the problem.
It looks like having a
postinstall
hook would make it possible to install successfully from the repo, Does anyone have any views about this?