-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.63 KB
/
Copy pathpackage.json
File metadata and controls
48 lines (48 loc) · 1.63 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
{
"name": "commit-critic",
"version": "0.1.0",
"description": "AI-powered commit message critic and writer",
"type": "module",
"main": "./src/cli.ts",
"bin": {
"commit-critic": "./src/cli.ts"
},
"files": [
"README.md",
"LICENSE",
".env.example",
"src/**/*.ts",
"!src/__tests__/**",
"!src/**/AGENTS.md"
],
"scripts": {
"dev": "bun ./src/cli.ts",
"build": "bun build ./src/cli.ts --outdir ./dist --target=bun --minify",
"compile": "bun build ./src/cli.ts --compile --outfile ./dist/commit-critic --minify",
"check": "bun run typecheck && bun test",
"typecheck": "tsc --noEmit",
"test": "bun test",
"compile:linux": "bun build ./src/cli.ts --compile --target=bun-linux-x64 --outfile ./dist/commit-critic-linux-x64 --minify",
"compile:mac-arm": "bun build ./src/cli.ts --compile --target=bun-darwin-arm64 --outfile ./dist/commit-critic-darwin-arm64 --minify",
"compile:mac-intel": "bun build ./src/cli.ts --compile --target=bun-darwin-x64 --outfile ./dist/commit-critic-darwin-x64 --minify",
"compile:windows": "bun build ./src/cli.ts --compile --target=bun-windows-x64 --outfile ./dist/commit-critic-windows-x64.exe --minify"
},
"dependencies": {
"@ai-sdk/openai": "4.0.0-canary.62",
"@ai-sdk/openai-compatible": "3.0.0-canary.50",
"@ai-sdk/provider-utils": "^4.0.27",
"@inquirer/prompts": "^7.5.3",
"ai": "7.0.0-canary.149",
"clipanion": "^3.2.1",
"jsonrepair": "^3.14.0",
"picocolors": "^1.1.1",
"zod": "^3.24.1"
},
"devDependencies": {
"@types/bun": "^1.3.13",
"typescript": "^5.9.3"
},
"engines": {
"bun": ">=1.3.9"
}
}