Add pre-publish script

This commit is contained in:
Alexander Zinn
2025-08-28 17:06:12 -04:00
parent 8d1b981197
commit b4643a83e7

13
scripts/pre-publish.sh Executable file
View File

@@ -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"