feat: post build script for opengraph

This commit is contained in:
2026-04-25 20:45:20 +02:00
parent 9162c149c4
commit 7885d22194
8 changed files with 124 additions and 21 deletions
+3 -2
View File
@@ -6,14 +6,15 @@
"repository": "https://github.com/klemek/md-blog",
"scripts": {
"dev": "vite",
"build": "run-p type-check \"build-only {@}\" --",
"build": "run-p type-check \"build-only {@}\" -- && run-p post-build",
"post-build": "node ./post-build.ts",
"preview": "vite preview",
"build-only": "vite build",
"type-check": "vue-tsc --build",
"lint": "run-s lint:*",
"lint:oxlint": "oxlint . --fix",
"lint:eslint": "eslint . --fix --cache",
"format": "prettier --write src/"
"format": "prettier --write src/ *.ts *.json"
},
"dependencies": {
"highlight.js": "^11.11.1",