@unravel-tech/ccusage 18.0.5

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,53 @@
1
+ {
2
+ "name": "@unravel-tech/ccusage",
3
+ "type": "module",
4
+ "version": "18.0.5",
5
+ "description": "Usage analysis tool for Claude Code",
6
+ "author": "ryoppippi",
7
+ "license": "MIT",
8
+ "funding": "https://github.com/ryoppippi/ccusage?sponsor=1",
9
+ "homepage": "https://github.com/ryoppippi/ccusage#readme",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/ryoppippi/ccusage.git",
13
+ "directory": "apps/ccusage"
14
+ },
15
+ "bugs": {
16
+ "url": "https://github.com/ryoppippi/ccusage/issues"
17
+ },
18
+ "exports": {
19
+ ".": "./src/index.ts",
20
+ "./calculate-cost": "./src/calculate-cost.ts",
21
+ "./data-loader": "./src/data-loader.ts",
22
+ "./debug": "./src/debug.ts",
23
+ "./logger": "./src/logger.ts",
24
+ "./package.json": "./package.json"
25
+ },
26
+ "main": "./dist/index.js",
27
+ "module": "./dist/index.js",
28
+ "types": "./dist/index.d.ts",
29
+ "bin": {
30
+ "ccusage": "./src/index.ts"
31
+ },
32
+ "files": [
33
+ "config-schema.json",
34
+ "dist"
35
+ ],
36
+ "publishConfig": {
37
+ "bin": {
38
+ "ccusage": "./dist/index.js"
39
+ },
40
+ "access": "public",
41
+ "exports": {
42
+ ".": "./dist/index.js",
43
+ "./calculate-cost": "./dist/calculate-cost.js",
44
+ "./data-loader": "./dist/data-loader.js",
45
+ "./debug": "./dist/debug.js",
46
+ "./logger": "./dist/logger.js",
47
+ "./package.json": "./package.json"
48
+ }
49
+ },
50
+ "engines": {
51
+ "node": ">=20.19.4"
52
+ }
53
+ }
package/src/index.ts ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env node
2
+
3
+ /**
4
+ * @fileoverview Main entry point for ccusage CLI tool
5
+ *
6
+ * This is the main entry point for the ccusage command-line interface tool.
7
+ * It provides analysis of Claude Code usage data from local JSONL files.
8
+ *
9
+ * @module index
10
+ */
11
+
12
+ /* eslint-disable antfu/no-top-level-await */
13
+
14
+ import { run } from './commands/index.ts';
15
+
16
+ await run();