tldraw/scripts/postpack.sh

8 lines
248 B
Bash
Raw Normal View History

2023-04-25 11:01:25 +00:00
#!/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