chore(scripts): clean up setup; add start + update
This commit is contained in:
parent
555d611c2a
commit
4bc85bde57
10 changed files with 103 additions and 63 deletions
|
@ -1,13 +1,13 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "10.8.7",
|
||||
"version": "10.9.7",
|
||||
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
||||
"type": "module",
|
||||
"engines": {
|
||||
"node": "22.x"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "npm run clean && npm run build && npm run start:quick",
|
||||
"start": "./scripts/start.sh",
|
||||
"start:quick": "concurrently -k -n 11ty,PHP -c cyan,magenta \"npm run watch\" \"npm run php\"",
|
||||
"watch": "eleventy --watch",
|
||||
"php": "export $(grep -v '^#' .env | xargs) && php -d error_reporting=E_ALL^E_DEPRECATED -S localhost:8080 -t dist",
|
||||
|
@ -16,7 +16,7 @@
|
|||
"format": "npx prettier --write '**/*.{js,json,css,md,liquid}' && composer format:php && npm run format:sql",
|
||||
"format:sql": "find queries -name '*.sql' -print0 | xargs -0 -n 1 sql-formatter --language postgresql --fix",
|
||||
"lint:md": "markdownlint '**/*.md'",
|
||||
"update": "composer update && npm upgrade && npm --prefix cli upgrade && ncu && ncu --cwd cli",
|
||||
"update": "./scripts/update.sh",
|
||||
"setup": "sh ./scripts/setup.sh",
|
||||
"setup:deploy": "sh ./scripts/setup.sh --deploy",
|
||||
"prepare": "husky"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue