From 940268573a1c0957ed132d76ec8bf5cf92659947 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnier Date: Sun, 24 May 2026 14:08:55 +0200 Subject: [PATCH] Add postinstall script to auto-build CSS - Added 'postinstall': 'npm run build' to package.json - This ensures CSS is automatically rebuilt when dependencies are installed - Provides better developer experience and ensures CSS is always up-to-date Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index e1b3b1d..c7b3e04 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "type": "module", "scripts": { "build": "lessc styles/scrying-pool.less dist/styles/scrying-pool.css", + "postinstall": "npm run build", "watch": "chokidar 'styles/**/*.less' -c 'lessc styles/scrying-pool.less dist/styles/scrying-pool.css'", "typecheck": "tsc --noEmit", "lint": "eslint src/ module.js scripts/ tests/",