feat(package.json): add unified development command to run 11ty + php concurrently
This commit is contained in:
parent
afa7144142
commit
b6dab4831f
5 changed files with 354 additions and 37 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue