Files
oh-my-pi/packages/stats/package.json
T
can1357 52719d1a7c refactor: restructured monorepo TypeScript config and build tasks for unified setup
- Migrated all package tsconfig files to extend tsconfig.workspace.json for unified TypeScript configuration across monorepo.
- Consolidated build and check scripts across 10+ packages to use biome for linting/formatting with separate type checking via tsgo.
- Renamed build scripts from build:native and build:binary to build for simplified command naming across packages/natives and packages/coding-agent.
- Refactored CI workflow to invoke bun tasks instead of inline shell scripts, reducing workflow complexity by 40+ lines.
- Removed sync-exports.ts and repro-stuck.ts scripts; deleted path aliases from tsconfig.base.json in favor of workspace-based configuration.
- Updated turbo.json with new task definitions (check:types, lint, fmt, fix) and removed build:native/embed:native tasks.
2026-04-08 17:05:20 +02:00

90 lines
2.0 KiB
JSON

{
"type": "module",
"name": "@oh-my-pi/omp-stats",
"version": "14.0.1",
"description": "Local observability dashboard for pi AI usage statistics",
"homepage": "https://github.com/can1357/oh-my-pi",
"author": "Can Boluk",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/can1357/oh-my-pi.git",
"directory": "packages/stats"
},
"bugs": {
"url": "https://github.com/can1357/oh-my-pi/issues"
},
"keywords": [
"ai",
"observability",
"metrics",
"dashboard",
"llm",
"statistics"
],
"main": "./src/index.ts",
"types": "./src/index.ts",
"bin": {
"omp-stats": "./src/index.ts"
},
"scripts": {
"build": "bun run build.ts",
"dev": "bun run src/index.ts",
"check": "biome check . && bun run check:types",
"check:types": "tsgo -p tsconfig.json --noEmit && tsgo -p tsconfig.client.json --noEmit",
"lint": "biome lint .",
"fix": "biome check --write --unsafe .",
"fmt": "biome format --write ."
},
"dependencies": {
"@oh-my-pi/pi-ai": "workspace:*",
"@oh-my-pi/pi-utils": "workspace:*",
"@tailwindcss/node": "^4.2",
"chart.js": "^4.5",
"date-fns": "^4.1",
"lucide-react": "^0.576",
"react": "^19.2",
"react-chartjs-2": "^5.3",
"react-dom": "^19.2"
},
"devDependencies": {
"@types/bun": "^1.3",
"@types/react": "^19.2",
"@types/react-dom": "^19.2",
"postcss": "^8.5",
"tailwindcss": "^4.2"
},
"engines": {
"bun": ">=1.3.7"
},
"files": [
"src",
"build.ts",
"tailwind.config.js",
"README.md"
],
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts"
},
"./*": {
"types": "./src/*.ts",
"import": "./src/*.ts"
},
"./client": {
"types": "./src/client/index.tsx",
"import": "./src/client/index.tsx"
},
"./client/*": {
"types": "./src/client/*.ts",
"import": "./src/client/*.ts"
},
"./client/components/*": {
"types": "./src/client/components/*.ts",
"import": "./src/client/components/*.ts"
},
"./*.js": "./src/*.ts"
}
}