[U] Scripts

This commit is contained in:
Azalea (on HyDEV-Daisy)
2022-08-01 12:26:39 -04:00
parent 08bb89b9ac
commit 2548fa8ec4
5 changed files with 36 additions and 3 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# Stop on error
set -e
# Check if package.json is present
[[ ! -f "package.json" ]] && echo "package.json not found, please make sure you're in the correct path" && exit -1
# Deploy npm
npm publish