aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/release-embed-api.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/release-embed-api.sh')
-rwxr-xr-xscripts/release-embed-api.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/release-embed-api.sh b/scripts/release-embed-api.sh
new file mode 100755
index 000000000..ae76a65f5
--- /dev/null
+++ b/scripts/release-embed-api.sh
@@ -0,0 +1,11 @@
1#!/bin/sh
2
3set -eu
4
5cd client/src/standalone/player
6
7rm -rf dist build && tsc -p . && ../../../node_modules/.bin/webpack --config ./webpack.config.js
8
9npm publish --access public
10
11rm -rf dist build node_modules