@hasna/economy 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "@hasna/economy",
3
+ "version": "0.1.0",
4
+ "description": "AI coding cost tracker — CLI + MCP server + REST API + web dashboard for Claude Code, Codex, and Gemini",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "bin": {
9
+ "economy": "dist/cli/index.js",
10
+ "economy-mcp": "dist/mcp/index.js",
11
+ "economy-serve": "dist/server/index.js"
12
+ },
13
+ "exports": {
14
+ ".": {
15
+ "types": "./dist/index.d.ts",
16
+ "import": "./dist/index.js"
17
+ }
18
+ },
19
+ "files": ["dist", "LICENSE"],
20
+ "scripts": {
21
+ "build": "cd dashboard && bun run build && cd .. && bun build src/cli/index.ts --outdir dist/cli --target bun --packages external && bun build src/mcp/index.ts --outdir dist/mcp --target bun --packages external && bun build src/server/index.ts --outdir dist/server --target bun --packages external && bun build src/index.ts --outdir dist --target bun --packages external && tsc --emitDeclarationOnly --outDir dist",
22
+ "build:cli": "bun build src/cli/index.ts --outdir dist/cli --target bun --packages external",
23
+ "build:mcp": "bun build src/mcp/index.ts --outdir dist/mcp --target bun --packages external",
24
+ "build:server": "bun build src/server/index.ts --outdir dist/server --target bun --packages external",
25
+ "build:lib": "bun build src/index.ts --outdir dist --target bun --packages external",
26
+ "build:dashboard": "cd dashboard && bun run build",
27
+ "typecheck": "tsc --noEmit",
28
+ "test": "bun test",
29
+ "dev:cli": "bun run src/cli/index.ts",
30
+ "dev:mcp": "bun run src/mcp/index.ts",
31
+ "dev:serve": "bun run src/server/index.ts"
32
+ },
33
+ "keywords": ["economy", "cost", "ai", "claude", "codex", "gemini", "mcp", "cli", "budget", "tracking"],
34
+ "author": "hasna",
35
+ "license": "Apache-2.0",
36
+ "publishConfig": {
37
+ "access": "restricted",
38
+ "registry": "https://registry.npmjs.org/"
39
+ },
40
+ "dependencies": {
41
+ "@modelcontextprotocol/sdk": "^1.12.1",
42
+ "chalk": "^5.4.1",
43
+ "commander": "^13.1.0"
44
+ },
45
+ "devDependencies": {
46
+ "@types/bun": "latest",
47
+ "bun-types": "latest",
48
+ "typescript": "^5.7.2"
49
+ }
50
+ }