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:
1883
package-lock.json
generated
1883
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user