✨feature: Set up Tailwind and automate dev process to watch all files for changes and rebuild as needed
This commit is contained in:
21
package.json
Normal file
21
package.json
Normal 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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user