Refactor: Move npm/composer setup to entrypoint script for proper volume handling

This commit is contained in:
Mischa Spelt
2026-08-25 14:33:08 +02:00
parent 95cf933424
commit e070c9f374
3 changed files with 51 additions and 8 deletions
Executable → Regular
+4
View File
@@ -1,6 +1,10 @@
{
"private": true,
"type": "module",
"scripts": {
"dev": "grunt watch",
"build": "grunt uglify concat",
"postinstall": "node scripts/setup-vendor.js || true",
"sass": "sass resources/assets/sass:public/css",
"sass-watch": "sass --watch resources/assets/sass:public/css",
"sass-minify": "sass resources/assets/sass/style.scss:public/css/style.min.css --style compressed",