Add version info to web app

This commit is contained in:
nimbleghost 2023-06-26 22:05:33 +02:00
parent 5627097a6c
commit 7ac448f78c
4 changed files with 10 additions and 3 deletions

View file

@ -3,7 +3,7 @@
"version": "1.0.0",
"private": true,
"scripts": {
"start": "NODE_OPTIONS=\"--enable-source-maps\" vite",
"start": "VITE_NTFY_COMMIT=$(git rev-parse --short HEAD) NODE_OPTIONS=\"--enable-source-maps\" vite",
"build": "vite build",
"serve": "vite preview",
"format": "prettier . --write",