chore(setup.sh): refactor setup script to optionally generate server deploy script
This commit is contained in:
parent
13b5b9c5cb
commit
80b0499550
3 changed files with 121 additions and 68 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "6.0.14",
|
||||
"version": "6.1.14",
|
||||
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
||||
"type": "module",
|
||||
"engines": {
|
||||
|
@ -16,6 +16,7 @@
|
|||
"php": "export $(grep -v '^#' .env | xargs) && php -d error_reporting=E_ALL^E_DEPRECATED -S localhost:8080 -t dist",
|
||||
"update:deps": "composer update && npm upgrade && ncu",
|
||||
"setup": "sh ./scripts/setup.sh",
|
||||
"setup:deploy": "sh ./scripts/setup.sh --deploy",
|
||||
"clean": "rimraf dist .cache",
|
||||
"clean:cache": "rimraf .cache",
|
||||
"clean:dist": "rimraf dist"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue