forked from di-sukharev/opencommit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
112 lines (112 loc) · 3.63 KB
/
package.json
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
{
"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": "^19.5.0",
"@types/ini": "^4.1.1",
"@types/inquirer": "^9.0.7",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.5",
"@typescript-eslint/eslint-plugin": "^8.19.0",
"@typescript-eslint/parser": "^8.19.0",
"cli-testing-library": "^2.0.2",
"dotenv": "^16.4.7",
"esbuild": "^0.24.2",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"jest": "^29.7.0",
"prettier": "^3.4.2",
"ts-jest": "^29.2.5",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"typescript-eslint": "^8.19.0"
},
"dependencies": {
"@actions/core": "^1.11.1",
"@actions/exec": "^1.1.1",
"@actions/github": "^6.0.0",
"@anthropic-ai/sdk": "^0.33.1",
"@azure/openai": "^2.0.0",
"@clack/prompts": "^0.9.0",
"@dqbd/tiktoken": "^1.0.18",
"@google/generative-ai": "^0.21.0",
"@mistralai/mistralai": "^1.3.5",
"@octokit/webhooks-schemas": "^7.6.1",
"@octokit/webhooks-types": "^7.6.1",
"axios": "^1.7.9",
"chalk": "^5.4.1",
"cleye": "^1.3.2",
"crypto": "^1.0.1",
"execa": "^9.5.2",
"ignore": "^7.0.0",
"ini": "^5.0.0",
"inquirer": "^12.3.0",
"openai": "^4.77.3",
"punycode": "^2.3.1",
"zod": "^3.24.1"
}
}