package.json - add build and deploy scripts

bin/deploy wraps the rsync command.
This commit is contained in:
Nick Stokoe
2023-05-09 15:42:59 +01:00
parent 0f5d81e59f
commit a37b8e68d3
2 changed files with 10 additions and 0 deletions

View File

@@ -4,6 +4,8 @@
"description": "",
"main": "index.js",
"scripts": {
"build": "rm -rf _site && eleventy --pathprefix '~nick/whenwe/'",
"deploy": "bin/deploy nick@mixian.noodlefactory.co.uk:public_html/whenwe/",
"server": "eleventy --serve",
"test": "echo \"Error: no test specified\" && exit 1"
},