diff --git a/package.json b/package.json index d8cfb63..f585082 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,19 @@ "test:e2e:ui": "playwright test --ui", "test:perf": "k6 run tests/performance/k6/load.js", "test:lighthouse": "lhci autorun --config tests/performance/lighthouserc.js", - "prepare": "husky" + "prepare": "husky", + "bundle:check": "npm run build && bundlesize" }, + "bundlesize": [ + { + "path": "./dist/assets/*.js", + "maxSize": "500kb" + }, + { + "path": "./dist/assets/*.css", + "maxSize": "100kb" + } + ], "dependencies": { "framer-motion": "^12.34.1", "lucide-react": "^0.574.0",