Files
Lucas Berger df62d333d0 chore(13-01): install ESLint+Prettier, author flat config, wire lint/format scripts
- Install eslint@9.39.4 @eslint/js@9.39.4 typescript-eslint@8.61.0
  eslint-plugin-react@7.37.5 eslint-plugin-react-hooks@7.1.1
  eslint-config-prettier@10.1.8 prettier@3.8.4 as root devDependencies
- Author eslint.config.js: ignores → base recommendedTypeChecked (projectService:true)
  → pwa-react block (apps/pwa/** only) → disableTypeChecked override (config files +
  apps/api/tests) → prettier-last (eslint-config-prettier/flat)
- Add .prettierrc (singleQuote:true, printWidth:100) and .prettierignore
- Add "type":"module" to root package.json; add format/format:check scripts
- Add lint script (--max-warnings 0) to apps/api and apps/pwa
2026-06-11 19:44:57 -04:00

40 lines
996 B
JSON

{
"name": "@familysync/api",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "node --watch dist/index.js",
"build": "tsc",
"start": "node dist/index.js",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint src/ tests/ --max-warnings 0",
"typecheck": "tsc --noEmit",
"db:generate": "drizzle-kit generate",
"db:migrate": "drizzle-kit migrate"
},
"dependencies": {
"@hono/node-server": "2.0.4",
"@hono/oidc-auth": "1.8.3",
"@hono/zod-validator": "0.8.0",
"drizzle-orm": "0.45.2",
"fractional-indexing": "^3.2.0",
"hono": "4.12.23",
"ical.js": "2.2.1",
"mysql2": "3.22.4",
"node-cron": "^4.2.1",
"tsdav": "2.2.2",
"web-push": "^3.6.7",
"zod": "^3.25.0"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/web-push": "^3.6.4",
"drizzle-kit": "0.31.10",
"temporal-polyfill": "0.3.2",
"typescript": "^5.5.0",
"vitest": "^4.1.8"
}
}