-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.48 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 2.48 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
{
"name": "difflearn",
"author": "lertsoft",
"version": "0.4.0",
"description": "Interactive git diff learning tool with LLM-powered explanations",
"type": "module",
"bin": {
"difflearn": "./src/cli/index.tsx"
},
"scripts": {
"dev": "bun run src/cli/index.tsx",
"web": "bun run src/cli/index.tsx web",
"build": "bun build src/cli/index.tsx --outdir dist/cli --target node",
"build:macos": "bun build src/cli/index.tsx --compile --outfile dist/difflearn-macos",
"build:macos-arm": "bun build src/cli/index.tsx --compile --target=bun-darwin-arm64 --outfile dist/difflearn-macos-arm64",
"build:macos-x64": "bun build src/cli/index.tsx --compile --target=bun-darwin-x64 --outfile dist/difflearn-macos-x64",
"build:linux": "bun build src/cli/index.tsx --compile --target=bun-linux-x64 --outfile dist/difflearn-linux-x64",
"build:linux-arm": "bun build src/cli/index.tsx --compile --target=bun-linux-arm64 --outfile dist/difflearn-linux-arm64",
"build:windows": "bun build src/cli/index.tsx --compile --target=bun-windows-x64 --outfile dist/difflearn-windows-x64.exe",
"build:all": "bun run build:macos-arm && bun run build:macos-x64 && bun run build:linux && bun run build:linux-arm && bun run build:windows",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"test": "bun test",
"serve:mcp": "bun run src/mcp/server.ts",
"serve:api": "bun run src/api/server.ts",
"serve:web": "bun run src/cli/index.tsx serve --api"
},
"dependencies": {
"ink": "^5.0.1",
"ink-text-input": "^6.0.0",
"react": "^18.3.1",
"simple-git": "^3.27.0",
"chalk": "^5.3.0",
"commander": "^12.1.0",
"@modelcontextprotocol/sdk": "^1.0.0",
"openai": "^4.77.0",
"@anthropic-ai/sdk": "^0.32.1",
"@google/generative-ai": "^0.21.0",
"diff": "^7.0.0",
"hono": "^4.6.0"
},
"devDependencies": {
"@types/bun": "^1.1.14",
"@types/diff": "^6.0.0",
"@types/react": "^18.3.12",
"@typescript-eslint/eslint-plugin": "^8.44.0",
"@typescript-eslint/parser": "^8.44.0",
"eslint": "^9.35.0",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "^5.2.0",
"react-devtools-core": "^7.0.1",
"typescript": "^5.7.2"
},
"keywords": [
"git",
"diff",
"llm",
"code-review",
"learning",
"cli"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/lertsoft/DiffLearn"
},
"engines": {
"bun": ">=1.0.0"
}
}