new CSS and JS build system

This commit is contained in:
Mark Gregory
2026-06-12 09:19:36 +01:00
parent 6fea1f3052
commit 67c9bb22d9
42 changed files with 541 additions and 3 deletions
+13 -1
View File
@@ -3,8 +3,19 @@
"private": true,
"type": "module",
"scripts": {
"dev": "vite --host 0.0.0.0",
"build": "vite build",
"dev": "vite"
"modules:install": "find Modules -maxdepth 2 -name package.json -not -path '*/node_modules/*' -execdir npm install \\;",
"modules:build": "find Modules -maxdepth 2 -name package.json -not -path '*/node_modules/*' -exec sh -c 'cd \"$(dirname \"$1\")\" && node -e \"const p=require(\\\"./package.json\\\"); process.exit(p.scripts && p.scripts.build ? 0 : 1)\" && npm run build || true' sh {} \\;",
"build:all": "npm run build && npm run modules:build",
"install:all": "npm install && npm run modules:install"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^7.1.0",
@@ -14,6 +25,7 @@
"concurrently": "^9.0.1",
"flatpickr": "^4.6.13",
"laravel-vite-plugin": "^3.1",
"sass-embedded": "^1.100.0",
"tailwindcss": "^4.0.7",
"vite": "^8.0.0"
},