chore(package.json): remove unnecessary commands

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

View file

@ -33,16 +33,11 @@ This will run `eleventy --watch` and the PHP cli concurrently, allowing for an e
## Commands ## Commands
- `coryd run start`: primary dev command that runs `watch` and `php` concurrently. - `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 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 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 update`: checks for dependency updates and updates 11ty.
- `coryd run clean`: removes the `dist` and `.cache` folders. - `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.
## Required environment variables ## Required environment variables

4
package-lock.json generated
View file

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

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "9.0.1", "version": "9.0.2",
"description": "The source for my personal site. Built using 11ty (and other tools).", "description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module", "type": "module",
"engines": { "engines": {
@ -8,18 +8,13 @@
}, },
"scripts": { "scripts": {
"start": "concurrently -k -n 11ty,PHP -c cyan,magenta \"npm run watch\" \"npm run php\"", "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", "watch": "eleventy --watch",
"build": "eleventy",
"php": "export $(grep -v '^#' .env | xargs) && php -d error_reporting=E_ALL^E_DEPRECATED -S localhost:8080 -t dist", "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", "build": "eleventy",
"update": "composer update && npm upgrade && npm --prefix cli upgrade && ncu && ncu --cwd cli",
"setup": "sh ./scripts/setup.sh", "setup": "sh ./scripts/setup.sh",
"setup:deploy": "sh ./scripts/setup.sh --deploy", "setup:deploy": "sh ./scripts/setup.sh --deploy",
"clean": "rimraf dist .cache", "clean": "rimraf dist .cache"
"clean:cache": "rimraf .cache",
"clean:dist": "rimraf dist"
}, },
"keywords": [ "keywords": [
"11ty", "11ty",