tldraw/scripts/postpack.sh
2023-04-25 12:01:25 +01:00

8 lines
No EOL
248 B
Bash
Executable file

#!/usr/bin/env bash
set -eux
# our prepack script makes the following changes we need to reverse
# - modifies the package.json, saving previous as package.json.bak
mv package.json.bak package.json
# - generates an index.d.ts file
rm -rf index.d.ts