Open basham opened 5 years ago
csbasham commented on May 17, 2018
We may consider using some built-in npm scripts to ensure the Conduit builds happen before publishing. https://docs.npmjs.com/misc/scripts#prepublish-and-prepare
I think prepare is what we should use, if assuming npm 4+; otherwise, prepublish for legacy npm.
prepare
prepublish
This would just mean that we don't have to explicitly tell it to build. But maybe we want to keep it explicit? I don't know.
csbasham commented on Jun 12, 2018
This PR actually some some qualities that I think I'm looking for. https://github.com/staltz/callbag-share/pull/7/files
csbasham commented on May 17, 2018
We may consider using some built-in npm scripts to ensure the Conduit builds happen before publishing. https://docs.npmjs.com/misc/scripts#prepublish-and-prepare
I think
prepare
is what we should use, if assuming npm 4+; otherwise,prepublish
for legacy npm.This would just mean that we don't have to explicitly tell it to build. But maybe we want to keep it explicit? I don't know.