Path of a script that gets executed before running ourbigbook --publish.
The script arguments are:
  • the publish output directory.
    That directory is guaranteed to exist when prepublish is called.
    For git-based publish targets, all files are almost ready in there, just waiting for a git add . that follows prepublish.
    This means that you can use this script to place or remove files from the final publish output.
If the prepublish script returns with a non-zero exit value, the publish is aborted.

Ancestors