chore(package.json): remove unnecessary commands
This commit is contained in:
parent
7111b8d223
commit
240d3b8774
3 changed files with 8 additions and 18 deletions
|
@ -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 update`: checks for dependency updates and updates 11ty.
|
||||
- `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
|
||||
|
||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "9.0.1",
|
||||
"version": "9.0.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "coryd.dev",
|
||||
"version": "9.0.1",
|
||||
"version": "9.0.2",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"minisearch": "^7.1.2",
|
||||
|
|
13
package.json
13
package.json
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "9.0.1",
|
||||
"version": "9.0.2",
|
||||
"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",
|
||||
"build": "eleventy",
|
||||
"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",
|
||||
"clean": "rimraf dist .cache",
|
||||
"clean:cache": "rimraf .cache",
|
||||
"clean:dist": "rimraf dist"
|
||||
"clean": "rimraf dist .cache"
|
||||
},
|
||||
"keywords": [
|
||||
"11ty",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue