- Extend docker-compose.dev.yml with optional monitoring profile (Prometheus, Grafana, Loki) via --profile monitoring - Align dev PostgreSQL with production: pg_stat_statements + init scripts - Add scripts/seed.ts with idempotent Berlin test data (user, route, activity) - Add pnpm db:seed and pnpm dev:reset scripts - Simplify CI e2e job: replace manual docker run + BRouter setup with docker compose up --wait; add db:seed step - Improve scripts/dev.sh: Docker check, --wait health checks, --monitoring flag, seed step - Add scripts/reset-dev.sh to wipe and restart the local stack - Add .env.development.example with documented local defaults Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
93 lines
2.8 KiB
JSON
93 lines
2.8 KiB
JSON
{
|
|
"name": "trails.cool",
|
|
"private": true,
|
|
"description": "Collaborative route planning + federated activity sharing for outdoor enthusiasts",
|
|
"type": "module",
|
|
"license": "MIT",
|
|
"packageManager": "pnpm@10.33.0",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"dev": "turbo dev",
|
|
"build": "turbo build",
|
|
"lint": "turbo lint",
|
|
"test": "turbo test",
|
|
"test:watch": "vitest",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:ui": "playwright test --ui",
|
|
"typecheck": "turbo typecheck",
|
|
"db:push": "drizzle-kit push --config packages/db/drizzle.config.ts --force",
|
|
"db:migrate-data": "tsx packages/db/src/migrate-data.ts",
|
|
"db:studio": "drizzle-kit studio --config packages/db/drizzle.config.ts",
|
|
"db:seed": "node --experimental-strip-types scripts/seed.ts",
|
|
"dev:services": "docker compose -f docker-compose.dev.yml up -d",
|
|
"dev:full": "./scripts/dev.sh",
|
|
"dev:reset": "./scripts/reset-dev.sh",
|
|
"dev:ios": "pnpm --filter @trails-cool/mobile ios",
|
|
"dev:android": "pnpm --filter @trails-cool/mobile android",
|
|
"openspec": "openspec"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"picomatch@>=4.0.0 <4.0.4": "4.0.4",
|
|
"brace-expansion@>=4.0.0 <5.0.5": "5.0.5",
|
|
"path-to-regexp@<0.1.13": "0.1.13",
|
|
"lodash@<4.18.1": "4.18.1",
|
|
"react": "catalog:",
|
|
"react-dom": "catalog:"
|
|
},
|
|
"onlyBuiltDependencies": [
|
|
"@sentry/cli",
|
|
"esbuild"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@expo/fingerprint": "^0.16.7",
|
|
"@fission-ai/openspec": "^1.3.1",
|
|
"@playwright/test": "^1.60.0",
|
|
"@react-router/dev": "catalog:",
|
|
"@react-router/node": "catalog:",
|
|
"@react-router/serve": "catalog:",
|
|
"@sentry/vite-plugin": "^5.3.0",
|
|
"@tailwindcss/vite": "catalog:",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@types/geojson": "^7946.0.16",
|
|
"@types/leaflet": "^1.9.21",
|
|
"@types/react": "catalog:",
|
|
"@types/react-dom": "catalog:",
|
|
"drizzle-kit": "catalog:",
|
|
"drizzle-orm": "catalog:",
|
|
"drizzle-postgis": "catalog:",
|
|
"eslint": "^10.4.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"fit-file-parser": "^3.0.0",
|
|
"i18next": "^26.2.0",
|
|
"i18next-browser-languagedetector": "^8.2.1",
|
|
"jsdom": "^29.1.1",
|
|
"leaflet": "^1.9.4",
|
|
"linkedom": "^0.18.12",
|
|
"playwright": "^1.60.0",
|
|
"postgres": "catalog:",
|
|
"prettier": "^3.8.3",
|
|
"react": "catalog:",
|
|
"react-dom": "catalog:",
|
|
"react-i18next": "^17.0.8",
|
|
"react-leaflet": "^5.0.0",
|
|
"react-router": "catalog:",
|
|
"tailwindcss": "catalog:",
|
|
"turbo": "^2.9.14",
|
|
"typescript": "catalog:",
|
|
"typescript-eslint": "^8.59.3",
|
|
"vite": "catalog:",
|
|
"vitest": "^4.1.6"
|
|
},
|
|
"version": "1.0.0",
|
|
"dependencies": {
|
|
"expo": "~55.0.24",
|
|
"react": "19.2.0",
|
|
"react-native": "0.83.4"
|
|
}
|
|
}
|