develop #221

Merged
samuel-p merged 67 commits from develop into main 2024-04-01 14:00:02 +00:00
2 changed files with 4 additions and 3 deletions
Showing only changes of commit 3a695ce865 - Show all commits

View file

@ -4,9 +4,10 @@
"description": "website for sp-codes.de", "description": "website for sp-codes.de",
"scripts": { "scripts": {
"minify-css": "uncss -n -H dist/ -o dist/css/main-*.css dist/**/*.html dist/**/**/*.html dist/**/**/**/*.html dist/**/**/**/**/*.html dist/**/**/**/**/**/*.html", "minify-css": "uncss -n -H dist/ -o dist/css/main-*.css dist/**/*.html dist/**/**/*.html dist/**/**/**/*.html dist/**/**/**/**/*.html dist/**/**/**/**/**/*.html",
"add-index": "cpx dist/de/index.html dist/ && replace-in-file sp-codes.de/de/ sp-codes.de/ dist/index.html",
"start": "eleventy --serve --watch", "start": "eleventy --serve --watch",
"build": "eleventy && npm run minify-css", "build": "eleventy && npm run minify-css && npm run add-index",
"build:dev": "BUILD=dev eleventy && npm run minify-css" "build:dev": "BUILD=dev eleventy && npm run minify-css && npm run add-index"
}, },
"author": "samuel-p", "author": "samuel-p",
"repository": { "repository": {
@ -29,6 +30,7 @@
"glob": "^10.3.12", "glob": "^10.3.12",
"minify": "^11.1.1", "minify": "^11.1.1",
"postcss": "^8.4.38", "postcss": "^8.4.38",
"replace-in-file": "^7.1.0",
"sass": "^1.72.0", "sass": "^1.72.0",
"uncss": "^0.17.3" "uncss": "^0.17.3"
}, },

View file

@ -1 +0,0 @@
de/index.html