Run regression tests before builds

This commit is contained in:
Admin 2026-09-18 00:35:55 +00:00
parent dc0b7f9591
commit a105060c3a

View File

@ -5,7 +5,9 @@
"type": "module",
"scripts": {
"dev": "vite --host 0.0.0.0",
"build": "node scripts/materialize-controller-assets.mjs && vite build",
"test": "node --test tests/*.test.mjs",
"test:watch": "node --test --watch tests/*.test.mjs",
"build": "npm test && node scripts/materialize-controller-assets.mjs && vite build",
"preview": "vite preview --host 0.0.0.0"
},
"dependencies": {