Skip to content

Commit

Permalink
chore: publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
cdimascio committed Dec 20, 2020
1 parent 60f2cf4 commit ab392b8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ab392b8

Please sign in to comment.