✅ Prettier config (.prettierrc) added to all 3 repos - Consistent formatting: semicolons, single quotes, 100 char width - Added format/format:check scripts to all package.json - Added prettier devDependency ✅ Bundle size limits enforcement - Added .bundlesizerc.json to all 3 dashboards - Configured limits: _app (150kb), main (50kb), webpack (50kb), framework (100kb) - Added bundlesize package and size:check script ✅ Test coverage with 80% thresholds - Added coverage config to all dashboard vitest configs - Enforces minimum coverage on branches, functions, lines, statements - Generates text, json, and html reports ✅ TypeScript strict mode already enabled everywhere - All repos already using strict: true in tsconfig ✅ EditorConfig already present in MindLyst
38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"name": "@bytelyst/root",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "pnpm -r build",
|
|
"test": "pnpm -r test",
|
|
"test:coverage": "pnpm -r exec vitest run --coverage",
|
|
"typecheck": "pnpm -r exec tsc --noEmit",
|
|
"lint": "pnpm -r exec eslint . --ext .ts,.tsx",
|
|
"lint:fix": "pnpm -r exec eslint . --ext .ts,.tsx --fix",
|
|
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\"",
|
|
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\"",
|
|
"audit": "pnpm -r audit --audit-level moderate",
|
|
"clean": "pnpm -r exec rm -rf dist"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/node": "^20.0.0",
|
|
"@types/react": "^19.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
"@typescript-eslint/parser": "^8.0.0",
|
|
"@vitest/coverage-v8": "^3.0.0",
|
|
"eslint": "^9.0.0",
|
|
"prettier": "^3.0.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^3.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@azure/cosmos": ">=4.0.0",
|
|
"bcryptjs": ">=2.4.0",
|
|
"jose": ">=5.0.0",
|
|
"react": ">=18.0.0",
|
|
"zod": "^3.24.0"
|
|
}
|
|
}
|