coryd.dev/package.json

73 lines
2.3 KiB
JSON

{
"name": "coryd.dev",
"version": "10.7.5",
"description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module",
"engines": {
"node": "22.x"
},
"scripts": {
"start": "npm run clean && npm run build && npm run start:quick",
"start:quick": "concurrently -k -n 11ty,PHP -c cyan,magenta \"npm run watch\" \"npm run php\"",
"watch": "eleventy --watch",
"php": "export $(grep -v '^#' .env | xargs) && php -d error_reporting=E_ALL^E_DEPRECATED -S localhost:8080 -t dist",
"build": "eleventy",
"clean": "rimraf dist .cache",
"format": "npx prettier --write '**/*.{js,json,css,md,liquid}' && composer format:php && npm run format:sql",
"format:sql": "find queries -name '*.sql' -print0 | xargs -0 -n 1 sql-formatter --language postgresql --fix",
"lint:md": "markdownlint '**/*.md'",
"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",
"prepare": "husky"
},
"lint-staged": {
"*.{js,json,css,md,liquid}": "prettier --write",
"*.php": "composer format:php",
"*.md": "markdownlint"
},
"keywords": [
"11ty",
"Eleventy",
"Web components",
"Blog",
"Directus",
"PHP",
"API"
],
"author": "Cory Dransfeldt",
"license": "MIT",
"dependencies": {
"minisearch": "^7.1.2",
"youtube-video-element": "^1.5.1"
},
"devDependencies": {
"@11ty/eleventy": "3.1.1",
"@11ty/eleventy-fetch": "5.1.0",
"@cdransf/eleventy-plugin-tabler-icons": "^2.13.1",
"@shopify/prettier-plugin-liquid": "1.9.3",
"cheerio": "1.1.0",
"concurrently": "9.1.2",
"cssnano": "^7.0.7",
"dotenv": "16.5.0",
"html-minifier-terser": "7.2.0",
"husky": "9.1.7",
"ics": "^3.8.1",
"lint-staged": "16.1.2",
"markdown-it": "^14.1.0",
"markdown-it-anchor": "^9.2.0",
"markdown-it-footnote": "^4.0.0",
"markdown-it-link-attributes": "4.0.1",
"markdown-it-prism": "^3.0.0",
"markdownlint": "0.38.0",
"markdownlint-cli": "0.45.0",
"postcss": "^8.5.6",
"postcss-import": "^16.1.1",
"postcss-import-ext-glob": "^2.1.1",
"prettier": "3.5.3",
"rimraf": "^6.0.1",
"sql-formatter": "15.6.5",
"terser": "^5.43.0",
"truncate-html": "^1.2.2"
}
}