chore(*): use prettier for formatting
This commit is contained in:
parent
6c659fe1d0
commit
ce869012ef
73 changed files with 1393 additions and 794 deletions
12
package.json
12
package.json
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "10.0.4",
|
||||
"version": "10.1.4",
|
||||
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
||||
"type": "module",
|
||||
"engines": {
|
||||
|
@ -13,9 +13,14 @@
|
|||
"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,ts,json,css,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"
|
||||
"setup:deploy": "sh ./scripts/setup.sh --deploy",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,json,css,md}": "prettier --write"
|
||||
},
|
||||
"keywords": [
|
||||
"11ty",
|
||||
|
@ -41,7 +46,9 @@
|
|||
"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.1",
|
||||
"markdown-it": "^14.1.0",
|
||||
"markdown-it-anchor": "^9.2.0",
|
||||
"markdown-it-footnote": "^4.0.0",
|
||||
|
@ -50,6 +57,7 @@
|
|||
"postcss": "^8.5.5",
|
||||
"postcss-import": "^16.1.0",
|
||||
"postcss-import-ext-glob": "^2.1.1",
|
||||
"prettier": "3.5.3",
|
||||
"rimraf": "^6.0.1",
|
||||
"terser": "^5.42.0",
|
||||
"truncate-html": "^1.2.2"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue