fix: sending webmentions

This commit is contained in:
Cory Dransfeldt 2023-07-13 14:39:52 -07:00
parent 2b0ebb5910
commit d2c5d9a8c1
No known key found for this signature in database
2 changed files with 428 additions and 8 deletions

View file

@ -9,7 +9,8 @@
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"build": "ELEVENTY_PRODUCTION=true eleventy && NODE_ENV=production npx tailwindcss -i ./tailwind.css -c ./tailwind.config.js -o _site/assets/styles/tailwind.css --minify",
"prepare": "husky install && touch ./.git/COMMIT_EDITMSG"
"prepare": "husky install && touch ./.git/COMMIT_EDITMSG",
"postbuild": "webmention _site/feed.xml --limit 1 --send"
},
"keywords": [],
"author": "Cory Dransfeldt",
@ -62,6 +63,9 @@
"striptags": "^3.2.0",
"tailwindcss": "^3.3.2"
},
"dependencies": {
"@remy/webmention": "^1.4.5"
},
"lint-staged": {
"**/*.{js,ts,json}": [
"npx prettier --write",