chore(package.json): remove unnecessary commands

This commit is contained in:
Cory Dransfeldt 2025-06-05 20:53:34 -07:00
parent 7111b8d223
commit 862c8e1c7f
No known key found for this signature in database
3 changed files with 9 additions and 19 deletions

View file

@ -33,16 +33,11 @@ This will run `eleventy --watch` and the PHP cli concurrently, allowing for an e
## Commands
- `coryd run start`: primary dev command that runs `watch` and `php` concurrently.
- `coryd run start:eleventy`: starts 11ty.
- `coryd run start:eleventy:quick`: starts 11ty a bit quicker (provided it's already been built).
- `coryd run debug`: runs 11ty with additional debug output.
- `coryd run watch`: watch and update when files change without running the web server.
- `coryd run build`: builds static site output.
- `coryd run php`: starts a PHP server for local development.
- `coryd run update:deps`: checks for dependency updates and updates 11ty.
- `coryd run build`: builds static site output.
- `coryd run clean`: removes the `dist` and `.cache` folders.
- `coryd run clean:cache`: removes the `.cache` folder.
- `coryd run clean:dist`: removes the `dist` folder.
- `coryd run update`: checks for dependency updates and updates 11ty.
## Required environment variables

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "coryd.dev",
"version": "9.0.1",
"version": "9.0.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
"version": "9.0.1",
"version": "9.0.3",
"license": "MIT",
"dependencies": {
"minisearch": "^7.1.2",

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "9.0.1",
"version": "9.0.3",
"description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module",
"engines": {
@ -8,18 +8,13 @@
},
"scripts": {
"start": "concurrently -k -n 11ty,PHP -c cyan,magenta \"npm run watch\" \"npm run php\"",
"start:eleventy": "eleventy --serve",
"start:eleventy:quick": "eleventy --serve --incremental --ignore-initial",
"debug": "DEBUG=Eleventy* npx @11ty/eleventy --serve",
"watch": "eleventy --watch",
"build": "eleventy",
"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 && npm --prefix cli upgrade && ncu && ncu --cwd cli",
"setup": "sh ./scripts/setup.sh",
"setup:deploy": "sh ./scripts/setup.sh --deploy",
"build": "eleventy",
"clean": "rimraf dist .cache",
"clean:cache": "rimraf .cache",
"clean:dist": "rimraf dist"
"update": "composer update && npm upgrade && npm --prefix cli upgrade && ncu && ncu --cwd cli",
"setup": "sh ./scripts/setup.sh",
"setup:deploy": "sh ./scripts/setup.sh --deploy"
},
"keywords": [
"11ty",