forked from ryoppippi/ccusage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 2.99 KB
/
package.json
File metadata and controls
116 lines (116 loc) · 2.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "ccusage",
"type": "module",
"version": "15.3.1",
"description": "Usage analysis tool for Claude Code",
"author": "ryoppippi",
"license": "MIT",
"funding": "https://github.com/ryoppippi/ccusage?sponsor=1",
"homepage": "https://github.com/ryoppippi/ccusage#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ryoppippi/ccusage.git"
},
"bugs": {
"url": "https://github.com/ryoppippi/ccusage/issues"
},
"exports": {
".": "./dist/index.js",
"./calculate-cost": "./dist/calculate-cost.js",
"./data-loader": "./dist/data-loader.js",
"./debug": "./dist/debug.js",
"./logger": "./dist/logger.js",
"./mcp": "./dist/mcp.js",
"./pricing-fetcher": "./dist/pricing-fetcher.js",
"./package.json": "./package.json"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": "./dist/index.js",
"files": [
"dist"
],
"workspaces": [
".",
"docs"
],
"engines": {
"node": ">=20.19.3"
},
"scripts": {
"build": "tsdown",
"docs:build": "cd docs && bun run build",
"docs:deploy": "cd docs && bun run deploy",
"docs:dev": "cd docs && bun run dev",
"docs:preview": "cd docs && bun run preview",
"format": "bun run lint --fix",
"lint": "eslint --cache .",
"mcp": "bunx @modelcontextprotocol/inspector bun run start mcp",
"prepack": "bun run build && clean-pkg-json",
"prepare": "simple-git-hooks",
"release": "bun lint && bun typecheck && vitest run && bun run build && bumpp",
"start": "bun run ./src/index.ts",
"test": "vitest",
"typecheck": "tsgo --noEmit"
},
"devDependencies": {
"@antfu/utils": "^9.2.0",
"@core/errorutil": "npm:@jsr/core__errorutil",
"@hono/mcp": "^0.1.0",
"@hono/node-server": "^1.15.0",
"@jsr/std__async": "1",
"@modelcontextprotocol/sdk": "^1.15.1",
"@oxc-project/runtime": "^0.77.0",
"@praha/byethrow": "^0.6.2",
"@praha/byethrow-mcp": "^0.0.14",
"@ryoppippi/eslint-config": "^0.3.7",
"@types/bun": "^1.2.18",
"@typescript/native-preview": "^7.0.0-dev.20250712.1",
"ansi-escapes": "^7.0.0",
"bumpp": "^10.2.0",
"clean-pkg-json": "^1.3.0",
"cli-table3": "^0.6.5",
"consola": "^3.4.2",
"es-toolkit": "^1.39.7",
"eslint": "^9.31.0",
"eslint-plugin-format": "^1.0.1",
"fast-sort": "^3.4.1",
"fs-fixture": "^2.8.1",
"gunshi": "^0.26.3",
"hono": "^4.8.4",
"lint-staged": "^16.1.2",
"path-type": "^6.0.0",
"picocolors": "^1.1.1",
"pretty-ms": "^9.2.0",
"publint": "^0.3.12",
"simple-git-hooks": "^2.13.0",
"sort-package-json": "^3.4.0",
"string-width": "^7.2.0",
"tinyglobby": "^0.2.14",
"tsdown": "^0.12.9",
"type-fest": "^4.41.0",
"unplugin-macros": "^0.17.0",
"unplugin-unused": "^0.5.1",
"vitest": "^3.2.4",
"xdg-basedir": "^5.1.0",
"zod": "^3.25.67"
},
"overrides": {
"vite": "npm:rolldown-vite@latest"
},
"simple-git-hooks": {
"pre-commit": "bun lint-staged"
},
"lint-staged": {
"*": [
"eslint --cache --fix"
],
"package.json": [
"sort-package-json"
]
},
"trustedDependencies": [
"simple-git-hooks"
]
}