From ab392b8bd0c25432d552dcf804ae763cdf71eff9 Mon Sep 17 00:00:00 2001 From: Carmine DiMascio Date: Sat, 19 Dec 2020 21:53:24 -0500 Subject: [PATCH] chore: publish script --- build.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 00000000..95de8b90 --- /dev/null +++ b/build.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +set -e +trap 'mv _README.md README.md' EXIT + +mv README.md _README.md + +cp assets/README.md README.md + +rm -rf node_modules +npm ci + +npm run compile +npm t + +echo 'publishing...' +npm publish \ No newline at end of file