Update package dependencies and enhance development setup

- Added `browser-sync` and `concurrently` as devDependencies for improved development workflow.
- Updated the `dev` script to run the build process and start a live server concurrently.
- Enhanced the about page with a link to the source code repository hosted on a self-managed Gitea instance.
This commit is contained in:
2026-01-25 23:18:32 +01:00
parent 47fc81bc72
commit 6d43b3c844
3 changed files with 1889 additions and 1 deletions

1883
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -5,11 +5,15 @@
"type": "module",
"scripts": {
"build": "node build.js",
"dev": "node build.js --watch",
"dev": "concurrently \"node build.js --watch\" \"browser-sync start --server dist --files dist --no-open\"",
"serve": "npx --yes serve dist -p 3000"
},
"dependencies": {
"gray-matter": "^4.0.3",
"marked": "^12.0.0"
},
"devDependencies": {
"browser-sync": "^3.0.2",
"concurrently": "^8.2.2"
}
}

View File

@@ -51,6 +51,7 @@
<section class="about-section">
<h2>Öppen Källkod</h2>
<p>Webbplatsen är byggd med enkel teknik ren HTML, CSS och minimal JavaScript. Ingen spårningskod, inga tunga ramverk, inga dolda skript.</p>
<p>All källkod finns tillgänglig på <a href="https://git.4z.nu/jonas/ursprungsverige" target="_blank" rel="noopener">git.4z.nu</a> en egenhostad Gitea-instans som också körs på servrar i Lerum.</p>
</section>
<section class="about-section">