Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Christopher Quadflieg
committed
Nov 15, 2019
1 parent
6048b4e
commit 2f27b71
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env bash | ||
set -x | ||
|
||
# Cleanup | ||
rm -Rf coverage | ||
rm -Rf dist | ||
rm -Rf node_modules | ||
rm junit.xml | ||
rm yarn.lock | ||
|
||
# Prepare | ||
yarn install | ||
yarn lint | ||
yarn test --silent | ||
yarn audit | ||
yarn build | ||
|
||
# Publish | ||
npm publish --dry-run | ||
|
||
set +x | ||
|
||
echo | ||
echo "If everything looks okay, use 'npm publish --access public'" | ||
echo | ||
echo "Remember to create a tag" | ||
echo "Remember to increase the version number" | ||
echo |