Replaces the PostCSS + autoprefixer toolchain with Hugo's native css.TailwindCSS pipe (via @tailwindcss/cli), matching the setup already in use on pivoine.art. Dockerfile now builds on hugomods/hugo with a matched Hugo/Node version instead of manually installing Hugo onto node:22-alpine. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S3xLyuoN6uzfCYBo8kVoSn
25 lines
854 B
JSON
25 lines
854 B
JSON
{
|
|
"name": "bar-pivoine",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "hugo server --buildDrafts --disableFastRender",
|
|
"build": "NODE_ENV=production hugo --minify",
|
|
"generate:content": "node scripts/generate-content.mjs",
|
|
"generate:images": "node scripts/generate-images.mjs",
|
|
"format": "prettier --write \"layouts/**/*.html\" \"assets/**/*.css\" \"assets/**/*.js\" \"content/**/*.md\" \"*.toml\"",
|
|
"format:check": "prettier --check \"layouts/**/*.html\" \"assets/**/*.css\" \"assets/**/*.js\" \"content/**/*.md\" \"*.toml\""
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/cli": "^4.0.0",
|
|
"prettier": "^3.8.3",
|
|
"prettier-plugin-go-template": "^0.0.15",
|
|
"prettier-plugin-toml": "^2.0.6",
|
|
"tailwindcss": "^4.0.0"
|
|
},
|
|
"dependencies": {
|
|
"csv-parse": "^5.6.0",
|
|
"replicate": "^1.0.1"
|
|
}
|
|
}
|