chore: codify frontend local verification

This commit is contained in:
2026-08-24 19:55:28 +03:00
parent 1fc269adec
commit 11be786943
6 changed files with 75 additions and 31 deletions
+2 -1
View File
@@ -7,6 +7,7 @@
"node": "22.x"
},
"scripts": {
"runtime:check": "node scripts/verify-node-version.mjs",
"dev": "vite",
"typecheck": "tsc -b --noEmit",
"build": "tsc -b && vite build",
@@ -22,7 +23,7 @@
"deps": "node --test scripts/dependency-cruiser-config.test.mjs && depcruise src --config dependency-cruiser.cjs --output-type err-long",
"bundle:check": "node --test scripts/bundle-budget.test.mjs && node scripts/bundle-budget.mjs",
"bundle:baseline": "npm run build && node scripts/bundle-budget.mjs baseline",
"verify": "npm run openapi:check && npm run hygiene:check && npm run typecheck && npm run lint && npm run test:run && npm run test:coverage && npm run knip && npm run deps && npm run build && npm run bundle:check",
"verify": "npm run runtime:check && npm run openapi:check && npm run hygiene:check && npm run typecheck && npm run lint && npm run test:coverage && npm run knip && npm run deps && npm run build && npm run bundle:check",
"prepare": "husky",
"preview": "vite preview"
},