chore(package.json): remove unnecessary commands
This commit is contained in:
parent
7111b8d223
commit
862c8e1c7f
3 changed files with 9 additions and 19 deletions
|
@ -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 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 update`: checks for dependency updates and updates 11ty.
|
||||||
- `coryd run clean:dist`: removes the `dist` folder.
|
|
||||||
|
|
||||||
## Required environment variables
|
## Required environment variables
|
||||||
|
|
||||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "9.0.1",
|
"version": "9.0.3",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "9.0.1",
|
"version": "9.0.3",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"minisearch": "^7.1.2",
|
"minisearch": "^7.1.2",
|
||||||
|
|
15
package.json
15
package.json
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "9.0.1",
|
"version": "9.0.3",
|
||||||
"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",
|
||||||
"setup": "sh ./scripts/setup.sh",
|
|
||||||
"setup:deploy": "sh ./scripts/setup.sh --deploy",
|
|
||||||
"clean": "rimraf dist .cache",
|
"clean": "rimraf dist .cache",
|
||||||
"clean:cache": "rimraf .cache",
|
"update": "composer update && npm upgrade && npm --prefix cli upgrade && ncu && ncu --cwd cli",
|
||||||
"clean:dist": "rimraf dist"
|
"setup": "sh ./scripts/setup.sh",
|
||||||
|
"setup:deploy": "sh ./scripts/setup.sh --deploy"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"11ty",
|
"11ty",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue