diff --git a/scripts/pre-publish.sh b/scripts/pre-publish.sh new file mode 100755 index 0000000..0a52925 --- /dev/null +++ b/scripts/pre-publish.sh @@ -0,0 +1,13 @@ +#! /usr/bin/env bash + +set -o errexit +set -o nounset +set -o pipefail + +echo "Preparing package.json for distributions" +bash scripts/prepare-package-json.sh + +echo "Copying .npmrc to dist/" +cp .npmrc dist/ + +echo "Pre-publish done" \ No newline at end of file