forked from di-sukharev/opencommit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 3.81 KB
/
Copy pathpackage.json
File metadata and controls
119 lines (119 loc) · 3.81 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "opencommit",
"version": "3.2.5",
"description": "Auto-generate impressive commits in 1 second. Killing lame commits with AI 🤯🔫",
"keywords": [
"git",
"chatgpt",
"gpt",
"ai",
"openai",
"opencommit",
"aicommit",
"aicommits",
"gptcommit",
"commit",
"ollama"
],
"main": "cli.js",
"bin": {
"opencommit": "out/cli.cjs",
"oco": "out/cli.cjs"
},
"repository": {
"url": "git+https://github.com/takuya-o/opencommit.git"
},
"type": "module",
"author": "https://github.com/di-sukharev",
"license": "MIT",
"files": [
"out/cli.cjs",
"out/tiktoken_bg.wasm"
],
"release": {
"branches": [
"master"
]
},
"publishConfig": {
"access": "public"
},
"scripts": {
"watch-old": "npm run -S build -- --sourcemap --watch",
"watch": "tsx --watch ./src/cli.ts",
"start": "node ./out/cli.cjs",
"debug": "tsx ./src/cli.ts",
"upgrade": "npx --yes npm-check-updates -u && npm update && npm dedup",
"clean": "rm -rf .npm/ node_modules/ out/*; npm ci",
"ollama:start": "OCO_AI_PROVIDER='ollama' node ./out/cli.cjs",
"dev": "tsx ./src/cli.ts",
"dev:gemini": "OCO_AI_PROVIDER='gemini' tsx ./src/cli.ts",
"build": "rimraf out && node esbuild.config.js",
"build:push": "npm run build && git add . && git commit -m 'build' && git push",
"deploy": "npm publish --tag latest",
"deploy:build": "npm run build:push && git push --tags && npm run deploy",
"deploy:patch": "npm version patch && npm run deploy:build",
"lint": "eslint src && prettier -c src && tsc --noEmit",
"format": "prettier --write src",
"test": "node --no-warnings --experimental-vm-modules $( [ -f ./node_modules/.bin/jest ] && echo ./node_modules/.bin/jest || which jest ) test/unit",
"test:all": "npm run test:unit:docker && npm run test:e2e:docker",
"test:docker-build": "docker build -t oco-test -f test/Dockerfile .",
"test:unit": "NODE_OPTIONS=--experimental-vm-modules jest test/unit",
"test:unit:docker": "npm run test:docker-build && DOCKER_CONTENT_TRUST=0 docker run --rm oco-test npm run test:unit",
"test:e2e": "npm run test:e2e:setup && jest test/e2e",
"test:e2e:setup": "sh test/e2e/setup.sh",
"test:e2e:docker": "npm run test:docker-build && DOCKER_CONTENT_TRUST=0 docker run --rm oco-test npm run test:e2e",
"mlx:start": "OCO_AI_PROVIDER='mlx' node ./out/cli.cjs"
},
"devDependencies": {
"@commitlint/types": "^21.1.0",
"@eslint/js": "^10.0.1",
"@types/ini": "^4.1.1",
"@types/inquirer": "^9.0.10",
"@types/jest": "^30.0.0",
"@types/node": "^26.0.1",
"@typescript-eslint/eslint-plugin": "^8.62.0",
"@typescript-eslint/parser": "^8.62.0",
"cli-testing-library": "^3.0.1",
"dotenv": "^17.4.2",
"esbuild": "^0.28.1",
"eslint": "^10.6.0",
"eslint-config-prettier": "^10.1.8",
"jest": "^30.4.2",
"prettier": "^3.9.1",
"rimraf": "^6.1.3",
"ts-jest": "^29.4.11",
"tsx": "^4.22.4",
"typescript": "^6.0.3",
"typescript-eslint": "^8.62.0"
},
"dependencies": {
"@actions/core": "^3.0.1",
"@actions/exec": "^3.0.0",
"@actions/github": "^9.1.1",
"@anthropic-ai/sdk": "^0.106.0",
"@azure/openai": "^2.0.0",
"@clack/prompts": "^1.6.0",
"@dqbd/tiktoken": "^1.0.22",
"@google/generative-ai": "^0.24.1",
"@mistralai/mistralai": "^2.3.0",
"@octokit/webhooks-schemas": "^7.6.1",
"@octokit/webhooks-types": "^7.6.1",
"@opentelemetry/api": "^1.9.1",
"axios": "^1.18.1",
"chalk": "^5.6.2",
"cleye": "^2.6.0",
"crypto": "^1.0.1",
"execa": "^9.6.1",
"ignore": "^7.0.5",
"ini": "^7.0.0",
"inquirer": "^14.0.2",
"openai": "^6.45.0",
"punycode": "^2.3.1",
"zod": "^4.4.3"
},
"allowScripts": {
"esbuild@0.28.1": true,
"unrs-resolver@1.12.2": true
}
}