feat: migrate Hugo Bootstrap theme to latest Hugo with Tailwind CSS and refactor codebase
* replace Bootstrap-based styling with Tailwind CSS * update theme compatibility for latest Hugo version * refactor templates and partials * fix outdated code and broken components * improve project structure and maintainability * optimize styling and frontend build setup
This commit is contained in:
31
package.json
Normal file
31
package.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"name": "roxo-hugo",
|
||||
"description": "A hugo powered static website",
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"author": "sitepins",
|
||||
"scripts": {
|
||||
"dev": "concurrently \"node scripts/themeGenerator.js --watch\" \"hugo server\"",
|
||||
"build": "node scripts/themeGenerator.js && hugo --gc --minify --templateMetrics --templateMetricsHints --forceSyncStatic",
|
||||
"preview": "node scripts/themeGenerator.js && hugo server --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --watch --forceSyncStatic -e production --minify",
|
||||
"dev:example": "concurrently \"node scripts/themeGenerator.js --watch\" \"cd exampleSite && hugo server --themesDir ../..\"",
|
||||
"build:example": "cd exampleSite && node ../scripts/themeGenerator.js && hugo --themesDir ../.. --gc --minify --templateMetrics --templateMetricsHints --forceSyncStatic",
|
||||
"preview:example": "cd exampleSite && node ../scripts/themeGenerator.js && hugo --themesDir ../.. server --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --watch --forceSyncStatic -e production --minify",
|
||||
"update-modules": "node ./scripts/clearModules.js && hugo mod clean --all && hugo mod get -u ./... && hugo mod tidy",
|
||||
"project-setup": "node ./scripts/projectSetup.js",
|
||||
"theme-setup": "node ./scripts/themeSetup.js",
|
||||
"update-theme": "node ./scripts/themeUpdate.js",
|
||||
"format": "prettier -w ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/cli": "^4.2.1",
|
||||
"@tailwindcss/forms": "^0.5.11",
|
||||
"@tailwindcss/typography": "^0.5.19",
|
||||
"concurrently": "^9.2.1",
|
||||
"prettier": "^3.8.1",
|
||||
"prettier-plugin-go-template": "0.0.15",
|
||||
"prettier-plugin-tailwindcss": "^0.7.2",
|
||||
"tailwind-bootstrap-grid": "^7.0.0",
|
||||
"tailwindcss": "^4.2.1"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user