feat(package.json): add unified development command to run 11ty + php concurrently off port 8000

This commit is contained in:
Cory Dransfeldt 2025-05-07 13:01:07 -07:00
parent 19809e325c
commit bab9b0b693
No known key found for this signature in database
3 changed files with 335 additions and 25 deletions

View file

@ -19,9 +19,11 @@ To debug and develop php components, run `npm run php`. This will start the PHP
- `npm run start`: starts 11ty.
- `npm run start:quick`: starts 11ty a bit quicker (provided it's already been built).
- `npm run build`: builds static site output.
- `npm run debug`: runs 11ty with additional debug output.
- `npm run watch`: watch and update when files change without running the web server.
- `npm run build`: builds static site output.
- `npm run php`: starts a PHP server for local development.
- `npm run dev`: primary dev command that runs `watch` and `php` concurrently.
- `npm run update:deps`: checks for dependency updates and updates 11ty.
- `npm run setup`: populates `.env` from 1Password and installs dependencies using `npm` and `composer`.
- `npm run clean`: removes the `dist` and `.cache` folders.