summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorNantha Sorubakanthan <nantha@mielota.com>2025-11-03 19:58:32 +0100
committerNantha Sorubakanthan <nantha@mielota.com>2025-11-03 19:58:32 +0100
commit285b2f67e967286019f0f29d1f0921134347a586 (patch)
tree77ba381c9a9bb71054c61801edd7b2cfb09f5788 /package.json
parentf32c2e84104dbcae287c7563c835d2f20c8393f1 (diff)
Syntax highlighting from javascript script
Diffstat (limited to 'package.json')
-rw-r--r--package.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..0d3ac30
--- /dev/null
+++ b/package.json
@@ -0,0 +1,13 @@
+{
+ "scripts": {
+ "build": "hugo && npm run highlight",
+ "highlight": "node scripts/highlight.mjs"
+ },
+ "dependencies": {
+ "dom-serializer": "^2.0.0",
+ "domutils": "^3.2.2",
+ "glob": "^11.0.3",
+ "htmlparser2": "^10.0.0",
+ "shiki": "^3.14.0"
+ }
+}