Files
oh-my-pi/packages/stats/package.json
T
can1357 1845e96d13 feat(ai): migrated models export from TypeScript to JSON format and updated dependencies
- Migrated models export from TypeScript module to JSON format, changing the public API from importing MODELS from './models.generated' to importing from './models.json' with JSON import assertion.
- Updated @anthropic-ai/sdk dependency from ^0.72.1 to ^0.74.0.
- Simplified model generation script by replacing 49 lines of TypeScript code generation with direct JSON serialization.
- Updated @types/bun devDependency from ^1.3.8 to ^1.3.9 across all packages.
- Removed models.generated.ts exclusion from biome.json linting configuration.
2026-02-10 22:01:35 +01:00

67 lines
1.3 KiB
JSON

{
"name": "@oh-my-pi/omp-stats",
"version": "11.10.4",
"description": "Local observability dashboard for pi AI usage statistics",
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"bin": {
"omp-stats": "./src/index.ts"
},
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts"
},
"./src/server": {
"types": "./src/server.ts",
"import": "./src/server.ts"
},
"./src/db": {
"types": "./src/db.ts",
"import": "./src/db.ts"
}
},
"files": [
"src",
"public",
"README.md"
],
"keywords": [
"ai",
"observability",
"metrics",
"dashboard",
"llm",
"statistics"
],
"scripts": {
"dev": "bun run src/index.ts",
"check": "tsgo -p tsconfig.json && tsgo -p tsconfig.client.json",
"build": "bun run build.ts"
},
"author": "Can Bölük",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/can1357/oh-my-pi.git",
"directory": "packages/stats"
},
"dependencies": {
"@oh-my-pi/pi-ai": "workspace:*",
"date-fns": "^4.1.0",
"lucide-react": "^0.563.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"recharts": "^3.7.0"
},
"devDependencies": {
"@types/bun": "^1.3.9",
"@types/react": "^19.2.10",
"@types/react-dom": "^19.2.3"
},
"engines": {
"bun": ">=1.3.7"
}
}