feat: add script to build JSON from markdown files

This commit is contained in:
Mathias Schopmans
2024-02-14 10:38:38 +01:00
committed by Mathias Schopmans
parent 554607a58d
commit 29afa82553
8 changed files with 719 additions and 7 deletions

View File

@@ -5,6 +5,7 @@
"scripts": {
"dev": "next dev --turbo",
"build:icons": "npx @svgr/cli --typescript --no-prettier --out-dir src/components/Icons -- src/icons",
"build:data": "tsx scripts/buildData.ts",
"build": "next build",
"start": "next start",
"lint": "next lint",
@@ -14,11 +15,16 @@
},
"dependencies": {
"clsx": "^2.1.0",
"gray-matter": "^4.0.3",
"highlight.js": "^11.9.0",
"marked": "^12.0.0",
"marked-highlight": "^2.1.1",
"next": "14.1.0",
"postcss-nested": "^6.0.1",
"postcss-preset-env": "^9.3.0",
"react": "^18",
"react-dom": "^18"
"react-dom": "^18",
"tsx": "^4.7.1"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.3.0",