Skip to content

Commit 6b12e7e

Browse files
committed
chore: add cc usage scripts
1 parent dc54e89 commit 6b12e7e

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.claude/settings.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"Bash(pnpm test:unit)",
2222
"Bash(pnpm test:storybook)",
2323
"Bash(pnpm exec prettier:*)",
24-
"Bash(pnpm lint:*)",
2524
"Bash(gh pr view:*)",
2625
"Bash(gh pr diff:*)",
2726
"WebFetch(domain:docs.anthropic.com)",
@@ -51,7 +50,7 @@
5150
"Bash(pnpm install:*)"
5251
]
5352
},
54-
"enabledPlugins": {
55-
"claude-hud@claude-hud": true
53+
"env": {
54+
"CLAUDE_CODE_DISABLE_1M_CONTEXT": "1"
5655
}
5756
}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
"prepare": "husky install",
2727
"storybook": "storybook dev -p 6006",
2828
"dev:server": "pnpm --filter server dev",
29-
"dev:all": "concurrently \"pnpm dev\" \"pnpm dev:server\""
29+
"dev:all": "concurrently \"pnpm dev\" \"pnpm dev:server\"",
30+
"usage": "npx -y ccusage@latest daily --since $(date +%Y%m%d)",
31+
"usage:week": "npx -y ccusage@latest daily --since $(date -d '6 days ago' +%Y%m%d)"
3032
},
3133
"dependencies": {
3234
"@chakra-ui/react": "3.34.0",

0 commit comments

Comments
 (0)