Added a tiny build script

This commit is contained in:
shibco 2021-03-29 14:29:26 +02:00
parent f1bd7697fa
commit 41bc15c525

View File

@ -6,7 +6,8 @@
"scripts": { "scripts": {
"start": "yarn parcel index.html", "start": "yarn parcel index.html",
"dev": "yarn parcel watch index.html", "dev": "yarn parcel watch index.html",
"build": "yarn parcel build index.js" "build": "yarn parcel build index.js",
"deploy": "yarn parcel build; rsync rsync -aP ./dist/ inu@95.216.203.71:/media/www/stream.undersco.re/"
}, },
"alias": { "alias": {
"react": "preact/compat", "react": "preact/compat",
@ -35,4 +36,4 @@
"sass": "^1.32.8", "sass": "^1.32.8",
"scss": "^0.2.4" "scss": "^0.2.4"
} }
} }