mirror of
https://github.com/StarFleetCPTN/GoMFT.git
synced 2026-09-08 23:50:48 +02:00
- Added a new build script using esbuild to bundle JavaScript and CSS assets, including Tailwind CSS and Font Awesome. - Updated the Dockerfile to include a multi-stage build process for frontend assets, ensuring efficient image creation. - Enhanced GitHub workflows to automate the installation of Node.js dependencies and build frontend assets during CI/CD. - Introduced a .gitignore entry for the dist directory to prevent unnecessary files from being tracked. - Improved caching and content type handling for static files served by the application.
20 lines
442 B
JSON
20 lines
442 B
JSON
{
|
|
"name": "gomft",
|
|
"version": "1.0.0",
|
|
"description": "GoMFT static assets bundling",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "node build.js",
|
|
"watch": "node build.js --watch",
|
|
"postinstall": "npm run build"
|
|
},
|
|
"dependencies": {
|
|
"@fortawesome/fontawesome-free": "^6.4.0",
|
|
"alpinejs": "^3.13.5",
|
|
"esbuild": "^0.20.1",
|
|
"flowbite": "^2.2.1",
|
|
"htmx.org": "^1.9.10",
|
|
"tailwindcss": "^3.4.1"
|
|
}
|
|
}
|