build: add dev command

This commit is contained in:
Ben Goldsworthy 2024-07-23 09:56:25 +02:00
parent 621336afde
commit 28eb5d120c
Signed by: Rumperuu
SSH key fingerprint: SHA256:e5XfzNOr9UvWpEzyLfw0GtTMZWIFh3NmxH+/qQIi3xE

View file

@ -3,6 +3,7 @@
"version": "1.0.0", "version": "1.0.0",
"description": "Ben Goldsworthy's media cataloguing site.", "description": "Ben Goldsworthy's media cataloguing site.",
"scripts": { "scripts": {
"dev": "snap run hugo serve",
"build": "rm -rf ./public/ && snap run hugo --templateMetrics --templateMetricsHints", "build": "rm -rf ./public/ && snap run hugo --templateMetrics --templateMetricsHints",
"deploy": "rsync -rP ./public/ ovhvps:~/catalogue/content", "deploy": "rsync -rP ./public/ ovhvps:~/catalogue/content",
"add": "python ./scripts/add_item.py", "add": "python ./scripts/add_item.py",