|
1 | 1 | { |
2 | 2 | "name": "ccusage", |
3 | 3 | "type": "module", |
4 | | - "version": "15.9.7", |
| 4 | + "version": "15.9.9", |
5 | 5 | "description": "Usage analysis tool for Claude Code", |
6 | 6 | "author": "ryoppippi", |
7 | 7 | "license": "MIT", |
|
45 | 45 | "docs:dev": "cd docs && bun run dev", |
46 | 46 | "docs:preview": "cd docs && bun run preview", |
47 | 47 | "format": "bun run lint --fix", |
| 48 | + "preinstall": "npx only-allow bun", |
48 | 49 | "lint": "eslint --cache .", |
49 | 50 | "mcp": "bunx @modelcontextprotocol/inspector bun run start mcp", |
50 | | - "prepack": "bun run build && clean-pkg-json", |
51 | | - "prepare": "simple-git-hooks", |
| 51 | + "prepack": "bun run build && bun clean-pkg-json -r scripts.preinstall", |
| 52 | + "prepare": "git config --local core.hooksPath .githooks", |
52 | 53 | "release": "bun lint && bun typecheck && vitest run && bun run build && bumpp", |
53 | 54 | "start": "bun run ./src/index.ts", |
54 | 55 | "test": "TZ=UTC vitest", |
|
61 | 62 | }, |
62 | 63 | "devDependencies": { |
63 | 64 | "@antfu/utils": "^9.2.0", |
64 | | - "@core/errorutil": "npm:@jsr/core__errorutil", |
| 65 | + "@core/errorutil": "npm:@jsr/core__errorutil@^1.2.1", |
65 | 66 | "@hono/mcp": "^0.1.0", |
66 | | - "@hono/node-server": "^1.18.1", |
67 | | - "@jsr/std__async": "1", |
| 67 | + "@hono/node-server": "^1.18.2", |
68 | 68 | "@mizchi/lsmcp": "^0.9.4", |
69 | | - "@modelcontextprotocol/sdk": "^1.17.2", |
70 | | - "@oxc-project/runtime": "^0.82.0", |
| 69 | + "@modelcontextprotocol/sdk": "^1.17.3", |
| 70 | + "@oxc-project/runtime": "^0.82.1", |
71 | 71 | "@praha/byethrow": "^0.6.3", |
| 72 | + "@praha/byethrow-mcp": "^0.1.2", |
72 | 73 | "@ryoppippi/eslint-config": "^0.3.7", |
| 74 | + "@ryoppippi/limo": "npm:@jsr/ryoppippi__limo@^0.2.2", |
| 75 | + "@std/async": "npm:@jsr/std__async@^1.0.14", |
73 | 76 | "@types/bun": "^1.2.20", |
74 | | - "@typescript/native-preview": "^7.0.0-dev.20250812.1", |
| 77 | + "@typescript/native-preview": "^7.0.0-dev.20250815.1", |
75 | 78 | "ansi-escapes": "^7.0.0", |
76 | 79 | "bumpp": "^10.2.3", |
77 | 80 | "clean-pkg-json": "^1.3.0", |
|
84 | 87 | "fs-fixture": "^2.8.1", |
85 | 88 | "get-stdin": "^9.0.0", |
86 | 89 | "gunshi": "^0.26.3", |
87 | | - "hono": "^4.9.0", |
| 90 | + "hono": "^4.9.2", |
88 | 91 | "lint-staged": "^16.1.5", |
89 | 92 | "nano-spawn": "^1.0.2", |
90 | 93 | "path-type": "^6.0.0", |
91 | 94 | "picocolors": "^1.1.1", |
92 | 95 | "pretty-ms": "^9.2.0", |
93 | 96 | "publint": "^0.3.12", |
94 | | - "simple-git-hooks": "^2.13.1", |
95 | 97 | "sort-package-json": "^3.4.0", |
96 | 98 | "string-width": "^7.2.0", |
97 | 99 | "tinyglobby": "^0.2.14", |
|
103 | 105 | "xdg-basedir": "^5.1.0", |
104 | 106 | "zod": "^3.25.67" |
105 | 107 | }, |
106 | | - "simple-git-hooks": { |
107 | | - "pre-commit": "bun lint-staged" |
108 | | - }, |
109 | 108 | "lint-staged": { |
110 | 109 | "*": [ |
111 | 110 | "eslint --cache --fix" |
112 | 111 | ], |
113 | 112 | "package.json": [ |
114 | 113 | "sort-package-json" |
115 | 114 | ] |
116 | | - }, |
117 | | - "trustedDependencies": [ |
118 | | - "simple-git-hooks" |
119 | | - ] |
| 115 | + } |
120 | 116 | } |
0 commit comments