package.json - add build and deploy scripts
bin/deploy wraps the rsync command.
This commit is contained in:
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user