feature: Set up Tailwind and automate dev process to watch all files for changes and rebuild as needed

This commit is contained in:
Keith Solomon
2025-04-20 17:01:14 -05:00
parent 3fe75e9ad5
commit 9957a5c116
24 changed files with 3319 additions and 76 deletions

21
package.json Normal file
View File

@@ -0,0 +1,21 @@
{
"name": "ssg",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"dev": "concurrently -k -n TAILWIND,GO,SERVE -c blue,green,magenta \"npm run tailwind\" \"npm run go\" \"npm run serve\"",
"tailwind": "npx @tailwindcss/cli -i ./css/base.css -o ./public/assets/style.css --watch",
"go": "air",
"serve": "live-server public"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"devDependencies": {
"@tailwindcss/cli": "^4.1.4",
"@tailwindcss/typography": "^0.5.16",
"concurrently": "^9.1.2",
"tailwindcss": "^4.1.4"
}
}