aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/release-embed-api.sh
blob: 41c84ed38be7554d68911eed21cdf28043fc1a01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -eu

cd client/src/standalone/embed-player-api

rm -rf dist build && tsc -p . && ../../../node_modules/.bin/webpack --config ./webpack.config.js

npm publish --access public

rm -rf dist build node_modules